Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001539/0.001539, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437.1 MB / 0.7112 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 64.5 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3664, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004498/0.371, allocations: 2.39 MB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.9353/1.306, allocations: 151 MB / 1.169 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/1.307, allocations: 2.531 kB / 1.169 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004294/1.307, allocations: 97.16 kB / 1.169 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0009803/1.308, allocations: 235.4 kB / 1.169 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/1.31, allocations: 0.65 MB / 1.169 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006469/1.311, allocations: 437.1 kB / 1.17 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/1.311, allocations: 58.5 kB / 1.17 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/1.311, allocations: 181.4 kB / 1.17 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/1.312, allocations: 196.4 kB / 1.17 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/1.312, allocations: 29.66 kB / 1.17 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/1.313, allocations: 0.6245 MB / 1.171 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/1.313, allocations: 83.86 kB / 1.171 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/1.313, allocations: 170.7 kB / 1.171 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/1.315, allocations: 0.6596 MB / 1.172 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.315, allocations: 3.938 kB / 1.172 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.653e-06/1.315, allocations: 0 / 1.172 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.076e-06/1.315, allocations: 0 / 1.172 GB, free: 0.6406 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002162/1.317, allocations: 0.7365 MB / 1.173 GB, free: 72 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/1.317, allocations: 10.98 kB / 1.173 GB, free: 72 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/1.319, allocations: 162.2 kB / 1.173 GB, free: 44 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/1.319, allocations: 315.8 kB / 1.173 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.631e-05/1.319, allocations: 45.61 kB / 1.173 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/1.32, allocations: 17.78 kB / 1.173 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/1.32, allocations: 207.8 kB / 1.173 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.32, allocations: 3.938 kB / 1.173 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/1.32, allocations: 7.766 kB / 1.173 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.32, allocations: 3.688 kB / 1.173 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/1.32, allocations: 117.1 kB / 1.173 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/1.323, allocations: 1.001 MB / 1.174 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/1.324, allocations: 162.5 kB / 1.175 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/1.324, allocations: 101.7 kB / 1.175 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/1.324, allocations: 2.062 kB / 1.175 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/1.324, allocations: 192.8 kB / 1.175 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 1.953e-06/1.324, allocations: 0 / 1.175 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.004187/1.329, allocations: 0.8635 MB / 1.176 GB, free: 14 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/1.329, allocations: 81.05 kB / 1.176 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/1.329, allocations: 349.2 kB / 1.176 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/1.329, allocations: 32.64 kB / 1.176 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/1.329, allocations: 145.4 kB / 1.176 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/1.33, allocations: 59.06 kB / 1.176 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/1.33, allocations: 83.75 kB / 1.176 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.33, allocations: 355 kB / 1.177 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/1.33, allocations: 136.1 kB / 1.177 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/1.331, allocations: 214.7 kB / 1.177 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/1.331, allocations: 337.8 kB / 1.177 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.332, allocations: 1.062 kB / 1.177 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00377/1.335, allocations: 0.8654 MB / 1.178 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/1.335, allocations: 41.28 kB / 1.178 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/1.335, allocations: 1.344 kB / 1.178 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009259/1.336, allocations: 196.7 kB / 1.178 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/1.337, allocations: 40.78 kB / 1.179 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/1.34, allocations: 2.344 MB / 1.181 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/1.34, allocations: 52.86 kB / 1.181 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/1.34, allocations: 15.45 kB / 1.181 GB, free: 9.73 MB / 0.8887 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002791/1.341, allocations: 191.7 kB / 1.181 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/1.341, allocations: 34.7 kB / 1.181 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/1.341, allocations: 27.09 kB / 1.181 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/1.341, allocations: 1.312 kB / 1.181 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.341, allocations: 3.984 kB / 1.181 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.341, allocations: 5.469 kB / 1.181 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/1.344, allocations: 1.036 MB / 1.182 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.344, allocations: 0 / 1.182 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/1.344, allocations: 9.891 kB / 1.182 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/1.345, allocations: 107.9 kB / 1.182 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/1.345, allocations: 16.42 kB / 1.182 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/1.346, allocations: 0.7463 MB / 1.183 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.346, allocations: 0.9688 kB / 1.183 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/1.349, allocations: 0.8731 MB / 1.184 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/1.349, allocations: 138.8 kB / 1.184 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/1.349, allocations: 7.562 kB / 1.184 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/1.349, allocations: 19.38 kB / 1.184 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/1.349, allocations: 13.14 kB / 1.184 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/1.349, allocations: 10.58 kB / 1.184 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003135/1.35, allocations: 241 kB / 1.184 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/1.35, allocations: 0 / 1.184 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005817/1.35, allocations: 110.3 kB / 1.184 GB, free: 7.199 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003586/1.351, allocations: 188.7 kB / 1.185 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001535/1.352, allocations: 0.5682 MB / 1.185 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.352, allocations: 2.906 kB / 1.185 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007261/1.353, allocations: 256.9 kB / 1.185 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/1.353, allocations: 70.06 kB / 1.185 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/1.355, allocations: 0.602 MB / 1.186 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/1.355, allocations: 0.7592 MB / 1.187 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001498/1.355, allocations: 29.61 kB / 1.187 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/1.355, allocations: 22.27 kB / 1.187 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of SimCode: time 4.4e-07/1.355, allocations: 4 kB / 1.187 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of Templates: time 0.01312/1.369, allocations: 7.195 MB / 1.194 GB, free: 1.738 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches