Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.00207/0.00207, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002341/0.002341, allocations: 192.1 kB / 16.14 MB, free: 6.707 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 482.3 MB / 0.7542 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.89 kB / 0.9232 GB, free: 29.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.387, allocations: 162.2 MB / 1.082 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004574/0.3917, allocations: 2.43 MB / 1.084 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1864/0.5781, allocations: 148.7 MB / 1.229 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.5784, allocations: 4 kB / 1.229 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.5788, allocations: 83.56 kB / 1.229 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006765/0.5796, allocations: 206.8 kB / 1.229 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.5812, allocations: 0.5914 MB / 1.23 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.5817, allocations: 406.7 kB / 1.23 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.5819, allocations: 48.67 kB / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.5821, allocations: 159.5 kB / 1.231 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.5824, allocations: 191.3 kB / 1.231 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.537e-05/0.5825, allocations: 24 kB / 1.231 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.5838, allocations: 0.6706 MB / 1.231 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.5839, allocations: 71.72 kB / 1.232 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.5841, allocations: 155.2 kB / 1.232 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009461/0.5851, allocations: 0.6544 MB / 1.232 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5851, allocations: 0 / 1.232 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5851, allocations: 0 / 1.232 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5851, allocations: 0 / 1.232 GB, free: 2.715 MB / 0.9825 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.001731/0.5868, allocations: 0.7494 MB / 1.233 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5869, allocations: 8.031 kB / 1.233 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.5886, allocations: 160.4 kB / 1.233 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.5891, allocations: 314.6 kB / 1.234 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.5892, allocations: 45.7 kB / 1.234 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.5893, allocations: 24 kB / 1.234 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.5897, allocations: 208.8 kB / 1.234 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.5898, allocations: 0 / 1.234 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.5898, allocations: 4 kB / 1.234 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.5898, allocations: 4 kB / 1.234 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.5901, allocations: 124.1 kB / 1.234 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.5928, allocations: 0.9886 MB / 1.235 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008565/0.5936, allocations: 162.5 kB / 1.235 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.5939, allocations: 100.8 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.5939, allocations: 0 / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004802/0.5944, allocations: 198.8 kB / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.5944, allocations: 0 / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.004414/0.5988, allocations: 0.8519 MB / 1.236 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.5989, allocations: 89.11 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.5994, allocations: 336.4 kB / 1.237 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.145e-05/0.5995, allocations: 37.64 kB / 1.237 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.5997, allocations: 156.5 kB / 1.237 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.5998, allocations: 55.27 kB / 1.237 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.6, allocations: 85.94 kB / 1.237 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.6002, allocations: 346.7 kB / 1.237 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.6005, allocations: 136.5 kB / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.601, allocations: 221.3 kB / 1.238 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.6017, allocations: 340.6 kB / 1.238 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6018, allocations: 3.938 kB / 1.238 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003837/0.6056, allocations: 0.8615 MB / 1.239 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.6057, allocations: 39.25 kB / 1.239 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6057, allocations: 4.062 kB / 1.239 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009454/0.6066, allocations: 197.6 kB / 1.239 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.6069, allocations: 39.97 kB / 1.239 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/0.6102, allocations: 2.231 MB / 1.241 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/0.6107, allocations: 47.56 kB / 1.241 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.6108, allocations: 19.98 kB / 1.241 GB, free: 9.074 MB / 0.9981 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.0003061/0.6111, allocations: 192.9 kB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.6112, allocations: 31.62 kB / 1.241 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.6112, allocations: 31.17 kB / 1.241 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6112, allocations: 4 kB / 1.242 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6112, allocations: 0 / 1.242 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6113, allocations: 3.984 kB / 1.242 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.6149, allocations: 1.041 MB / 1.243 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6149, allocations: 3.938 kB / 1.243 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.615, allocations: 11.98 kB / 1.243 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003477/0.6153, allocations: 108.8 kB / 1.243 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.6154, allocations: 11.98 kB / 1.243 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.6164, allocations: 0.7459 MB / 1.243 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.6164, allocations: 3.938 kB / 1.243 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/0.6199, allocations: 0.8633 MB / 1.244 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.6201, allocations: 144.6 kB / 1.244 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/0.6202, allocations: 4 kB / 1.244 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.6205, allocations: 11.98 kB / 1.244 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.6205, allocations: 16.05 kB / 1.244 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.6206, allocations: 8 kB / 1.244 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003557/0.621, allocations: 243 kB / 1.245 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.621, allocations: 0 / 1.245 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006877/0.6217, allocations: 112 kB / 1.245 GB, free: 5.352 MB / 0.9981 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.0005109/0.6222, allocations: 190.6 kB / 1.245 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.6241, allocations: 0.5695 MB / 1.245 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6241, allocations: 0 / 1.245 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.6249, allocations: 244.2 kB / 1.246 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000592/0.6255, allocations: 64.92 kB / 1.246 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.6272, allocations: 0.6685 MB / 1.246 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.6276, allocations: 0.756 MB / 1.247 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.6278, allocations: 34.22 kB / 1.247 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.6279, allocations: 23.42 kB / 1.247 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/0.6279, allocations: 0 / 1.247 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of Templates: time 0.6349/1.263, allocations: 6.865 MB / 1.254 GB, free: 174.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches