Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 81.39 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 162.5 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.042/3.042, allocations: 377.8 MB / 0.6221 GB, free: 12.65 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.519e-06/4.519e-06, allocations: 3.984 kB / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.619e-05/4.071e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2331/0.2331, allocations: 146.5 MB / 1.124 GB, free: 9.008 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006599/0.2397, allocations: 5.166 MB / 1.129 GB, free: 3.824 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003205/0.2401, allocations: 11.94 kB / 1.129 GB, free: 3.812 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.2406, allocations: 103.2 kB / 1.13 GB, free: 3.711 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.2409, allocations: 55.66 kB / 1.13 GB, free: 3.656 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.2411, allocations: 43.84 kB / 1.13 GB, free: 3.613 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004299/0.2415, allocations: 223 kB / 1.13 GB, free: 3.395 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.2418, allocations: 58.86 kB / 1.13 GB, free: 3.336 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.2421, allocations: 139.6 kB / 1.13 GB, free: 3.199 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2423, allocations: 51.83 kB / 1.13 GB, free: 3.148 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.2423, allocations: 12 kB / 1.13 GB, free: 3.137 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.79e-05/0.2424, allocations: 8 kB / 1.13 GB, free: 3.129 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.2424, allocations: 35.84 kB / 1.13 GB, free: 3.094 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.082e-05/0.2425, allocations: 43.92 kB / 1.13 GB, free: 3.051 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.2428, allocations: 171.3 kB / 1.13 GB, free: 2.883 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2428, allocations: 0 / 1.13 GB, free: 2.883 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2428, allocations: 0 / 1.13 GB, free: 2.883 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2428, allocations: 0 / 1.13 GB, free: 2.883 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007338/0.2436, allocations: 361.5 kB / 1.131 GB, free: 2.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2436, allocations: 12.03 kB / 1.131 GB, free: 2.488 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.2437, allocations: 15.91 kB / 1.131 GB, free: 2.473 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.244, allocations: 192.9 kB / 1.131 GB, free: 2.258 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2441, allocations: 8 kB / 1.131 GB, free: 2.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.2441, allocations: 15.94 kB / 1.131 GB, free: 2.234 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.2444, allocations: 219.9 kB / 1.131 GB, free: 1.977 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.2444, allocations: 7.938 kB / 1.131 GB, free: 1.969 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.2445, allocations: 4 kB / 1.131 GB, free: 1.965 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2445, allocations: 4 kB / 1.131 GB, free: 1.961 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.2446, allocations: 63.91 kB / 1.131 GB, free: 1.898 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.2457, allocations: 1.054 MB / 1.132 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2459, allocations: 169.1 kB / 1.132 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.2459, allocations: 80.14 kB / 1.133 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.246, allocations: 75.28 kB / 1.133 GB, free: 464 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.782e-05/0.2461, allocations: 113.8 kB / 1.133 GB, free: 340 kB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2461, allocations: 0 / 1.133 GB, free: 340 kB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001069/0.2462, allocations: 45.56 kB / 1.133 GB, free: 288 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.2463, allocations: 182.1 kB / 1.133 GB, free: 80 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7708/1.017, allocations: 177.7 kB / 1.133 GB, free: 198.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/1.017, allocations: 25.7 kB / 1.133 GB, free: 198.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/1.017, allocations: 149.8 kB / 1.133 GB, free: 198.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-06/1.017, allocations: 0 / 1.133 GB, free: 198.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/1.017, allocations: 21.91 kB / 1.133 GB, free: 198.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/1.017, allocations: 320.5 kB / 1.134 GB, free: 198.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/1.017, allocations: 13.23 kB / 1.134 GB, free: 198.2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/1.018, allocations: 166.3 kB / 1.134 GB, free: 198 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.029e-05/1.018, allocations: 51.95 kB / 1.134 GB, free: 197.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.018, allocations: 2.844 kB / 1.134 GB, free: 197.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002548/1.018, allocations: 76.94 kB / 1.134 GB, free: 197.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.018, allocations: 9.984 kB / 1.134 GB, free: 197.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.018, allocations: 2.781 kB / 1.134 GB, free: 197.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/1.018, allocations: 5.25 kB / 1.134 GB, free: 197.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/1.018, allocations: 8.719 kB / 1.134 GB, free: 197.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.018, allocations: 0 / 1.134 GB, free: 197.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/1.018, allocations: 11.81 kB / 1.134 GB, free: 197.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/1.018, allocations: 0.9062 kB / 1.134 GB, free: 197.9 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/1.018, allocations: 203.6 kB / 1.134 GB, free: 197.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/1.019, allocations: 115.8 kB / 1.134 GB, free: 197.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/1.019, allocations: 118.1 kB / 1.134 GB, free: 197.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-05/1.019, allocations: 185.8 kB / 1.135 GB, free: 197.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-05/1.019, allocations: 187.7 kB / 1.135 GB, free: 197.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-05/1.019, allocations: 176.3 kB / 1.135 GB, free: 196.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/1.019, allocations: 394.8 kB / 1.135 GB, free: 196.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.292e-05/1.019, allocations: 105.3 kB / 1.135 GB, free: 196.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/1.019, allocations: 107.8 kB / 1.135 GB, free: 196.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.844e-05/1.019, allocations: 176.9 kB / 1.136 GB, free: 196.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/1.019, allocations: 182 kB / 1.136 GB, free: 196 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.579e-05/1.019, allocations: 181.2 kB / 1.136 GB, free: 195.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.672e-05/1.019, allocations: 186.5 kB / 1.136 GB, free: 195.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/1.019, allocations: 320.7 kB / 1.136 GB, free: 195.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/1.019, allocations: 112.1 kB / 1.137 GB, free: 195.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/1.019, allocations: 185.9 kB / 1.137 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/1.02, allocations: 102 kB / 1.137 GB, free: 194.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/1.02, allocations: 190.4 kB / 1.137 GB, free: 194.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/1.02, allocations: 104.2 kB / 1.137 GB, free: 194.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00016/1.02, allocations: 140.2 kB / 1.137 GB, free: 194.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.02, allocations: 0 / 1.137 GB, free: 194.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004942/1.02, allocations: 28.05 kB / 1.137 GB, free: 194.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002145/1.021, allocations: 170.5 kB / 1.137 GB, free: 194.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000178/1.021, allocations: 24.14 kB / 1.137 GB, free: 194.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.021, allocations: 1.484 kB / 1.137 GB, free: 194.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-06/1.021, allocations: 2.156 kB / 1.137 GB, free: 194.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007104/1.021, allocations: 466.8 kB / 1.138 GB, free: 193.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008773/1.022, allocations: 320 kB / 1.138 GB, free: 193.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/1.023, allocations: 105.8 kB / 1.138 GB, free: 193.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.421e-05/1.023, allocations: 12.64 kB / 1.138 GB, free: 193.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/1.023, allocations: 13.88 kB / 1.138 GB, free: 193.6 MB / 1.076 GB Notification: Performance of SimCode: time 6.42e-07/1.023, allocations: 0 / 1.138 GB, free: 193.6 MB / 1.076 GB Notification: Performance of Templates: time 0.007212/1.03, allocations: 0.8108 MB / 1.139 GB, free: 193.6 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.13420994207263]