Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|senTemIn.T|senTemOut.T|pip.v_nominal|pip.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|senTemIn.T|senTemOut.T|pip.v_nominal|pip.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001172, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005621/0.005621, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003254, allocations: 13.28 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3052, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06174/0.367, allocations: 59.27 MB / 1.117 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02075/0.3878, allocations: 14.57 MB / 1.131 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.3904, allocations: 55.62 kB / 1.131 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.3923, allocations: 0.5788 MB / 1.131 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006051/0.3984, allocations: 2.081 MB / 1.133 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004129/0.4025, allocations: 1.498 MB / 1.135 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006246/0.4088, allocations: 5.285 MB / 1.14 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.4107, allocations: 1.028 MB / 1.141 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.4141, allocations: 1.318 MB / 1.142 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.4163, allocations: 1.054 MB / 1.143 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003646/0.4167, allocations: 52 kB / 1.143 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004817/0.4215, allocations: 1.579 MB / 1.145 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006995/0.4222, allocations: 258.8 kB / 1.145 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.424, allocations: 0.7167 MB / 1.146 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005134/0.4291, allocations: 2.617 MB / 1.148 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4291, allocations: 0 / 1.148 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4291, allocations: 0 / 1.148 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.179e-05/0.4292, allocations: 0 / 1.148 GB, free: 9.238 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.00343/0.4327, allocations: 1.565 MB / 1.15 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4327, allocations: 8.031 kB / 1.15 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004635/0.4332, allocations: 170.8 kB / 1.15 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.4353, allocations: 1.284 MB / 1.151 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.26e-05/0.4354, allocations: 66 kB / 1.151 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.4355, allocations: 84 kB / 1.152 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.4371, allocations: 0.9668 MB / 1.152 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.4371, allocations: 4 kB / 1.152 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.4372, allocations: 32 kB / 1.153 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.4372, allocations: 28 kB / 1.153 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.4384, allocations: 0.6713 MB / 1.153 GB, free: 4.211 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005376/0.4438, allocations: 5.221 MB / 1.158 GB, free: 14.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000722/0.4445, allocations: 400.5 kB / 1.159 GB, free: 14.17 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.4449, allocations: 243.7 kB / 1.159 GB, free: 13.93 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/0.4463, allocations: 1.607 MB / 1.16 GB, free: 11.97 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.4464, allocations: 35 kB / 1.161 GB, free: 11.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.485e-06/0.4464, allocations: 0 / 1.161 GB, free: 11.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.002296/0.4487, allocations: 0.9485 MB / 1.161 GB, free: 10.95 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.4487, allocations: 55.84 kB / 1.162 GB, free: 10.89 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.4501, allocations: 0.9928 MB / 1.162 GB, free: 9.879 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.4501, allocations: 33.7 kB / 1.163 GB, free: 9.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.4506, allocations: 0.5813 MB / 1.163 GB, free: 9.25 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.4508, allocations: 189.2 kB / 1.163 GB, free: 9.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.477e-05/0.4509, allocations: 61.69 kB / 1.163 GB, free: 8.996 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.451, allocations: 334 kB / 1.164 GB, free: 8.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.4514, allocations: 197.5 kB / 1.164 GB, free: 8.469 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.4519, allocations: 400.9 kB / 1.164 GB, free: 8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/0.4528, allocations: 0.6256 MB / 1.165 GB, free: 7.297 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4528, allocations: 0 / 1.165 GB, free: 7.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001636/0.4544, allocations: 0.8457 MB / 1.166 GB, free: 6.441 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.4546, allocations: 257.6 kB / 1.166 GB, free: 6.109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.4546, allocations: 8 kB / 1.166 GB, free: 6.102 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005521/0.4552, allocations: 112.7 kB / 1.166 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.4557, allocations: 143.7 kB / 1.166 GB, free: 5.848 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004883/0.4562, allocations: 0.603 MB / 1.167 GB, free: 5.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007961/0.457, allocations: 111.3 kB / 1.167 GB, free: 5.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/0.457, allocations: 39.92 kB / 1.167 GB, free: 5.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.4571, allocations: 4 kB / 1.167 GB, free: 5.066 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001447/0.4585, allocations: 0.7125 MB / 1.168 GB, free: 4.348 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.4585, allocations: 12 kB / 1.168 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/0.459, allocations: 105.2 kB / 1.168 GB, free: 4.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.4595, allocations: 139.8 kB / 1.168 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004319/0.4599, allocations: 0.5953 MB / 1.168 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/0.4607, allocations: 103.1 kB / 1.168 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.4607, allocations: 39.98 kB / 1.169 GB, free: 3.336 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005395/0.4613, allocations: 378.1 kB / 1.169 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.4614, allocations: 114.6 kB / 1.169 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.4635, allocations: 1.073 MB / 1.17 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.4635, allocations: 19.98 kB / 1.17 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4635, allocations: 0 / 1.17 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/0.4648, allocations: 0.8069 MB / 1.171 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.4681, allocations: 2.094 MB / 1.173 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.4682, allocations: 0 / 1.173 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.4686, allocations: 108 kB / 1.173 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/0.4689, allocations: 72.75 kB / 1.173 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.469, allocations: 19.98 kB / 1.173 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003951/0.4694, allocations: 0.5914 MB / 1.174 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4694, allocations: 0 / 1.174 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.4714, allocations: 1.329 MB / 1.175 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/0.4719, allocations: 315.3 kB / 1.175 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.472, allocations: 16 kB / 1.175 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.4727, allocations: 82.11 kB / 1.175 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4728, allocations: 60.36 kB / 1.175 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.4729, allocations: 31.98 kB / 1.175 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009763/0.4739, allocations: 0.6765 MB / 1.176 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4739, allocations: 0 / 1.176 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001909/0.4758, allocations: 0.7405 MB / 1.177 GB, free: 10.64 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * 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 (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.4769, allocations: 0.5605 MB / 1.177 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.4787, allocations: 1.06 MB / 1.178 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4787, allocations: 0 / 1.178 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006198/0.4794, allocations: 434.5 kB / 1.179 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.4823, allocations: 0.5797 MB / 1.179 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.4863, allocations: 2.696 MB / 1.182 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007192/0.487, allocations: 1.129 MB / 1.183 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001118/0.4882, allocations: 313.7 kB / 1.183 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.4884, allocations: 103.4 kB / 1.184 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of SimCode: time 7.42e-07/0.4884, allocations: 0 / 1.184 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of Templates: time 0.04386/0.5323, allocations: 26.47 MB / 1.209 GB, free: 9.582 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches