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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.005971/0.00597, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001136/0.001136, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.91 kB / 1.019 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.384, allocations: 151.6 MB / 1.167 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.005333/0.3894, allocations: 2.375 MB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.203/1.593, allocations: 151 MB / 1.316 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/1.593, allocations: 2.25 kB / 1.316 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004676/1.594, allocations: 94.2 kB / 1.316 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001079/1.595, allocations: 253 kB / 1.317 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/1.597, allocations: 0.6658 MB / 1.317 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007407/1.598, allocations: 441.8 kB / 1.318 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/1.598, allocations: 48.12 kB / 1.318 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/1.598, allocations: 181.1 kB / 1.318 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004144/1.599, allocations: 203.1 kB / 1.318 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-05/1.599, allocations: 30.03 kB / 1.318 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/1.6, allocations: 0.6293 MB / 1.319 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/1.601, allocations: 85.45 kB / 1.319 GB, free: 11.85 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002069/1.601, allocations: 163.2 kB / 1.319 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/1.602, allocations: 0.6578 MB / 1.32 GB, free: 11.68 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.602, allocations: 4.797 kB / 1.32 GB, free: 11.68 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/1.602, allocations: 0 / 1.32 GB, free: 11.68 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.002e-05/1.602, allocations: 1.281 kB / 1.32 GB, free: 11.68 MB / 1.014 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.001704/1.604, allocations: 0.7518 MB / 1.32 GB, free: 11.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.604, allocations: 9.188 kB / 1.32 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/1.606, allocations: 158.7 kB / 1.321 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/1.606, allocations: 325.3 kB / 1.321 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.674e-05/1.606, allocations: 45.88 kB / 1.321 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.786e-05/1.606, allocations: 20.16 kB / 1.321 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/1.607, allocations: 205.9 kB / 1.321 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.607, allocations: 0 / 1.321 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/1.607, allocations: 6.688 kB / 1.321 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/1.607, allocations: 3.156 kB / 1.321 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/1.607, allocations: 120.1 kB / 1.321 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/1.61, allocations: 0.9918 MB / 1.322 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/1.61, allocations: 169.1 kB / 1.322 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/1.611, allocations: 96.53 kB / 1.323 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/1.611, allocations: 1.344 kB / 1.323 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003911/1.611, allocations: 189 kB / 1.323 GB, free: 10.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 4.639e-06/1.611, allocations: 3.984 kB / 1.323 GB, free: 10.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.004014/1.615, allocations: 0.872 MB / 1.324 GB, free: 9.918 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/1.615, allocations: 86.27 kB / 1.324 GB, free: 9.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/1.616, allocations: 339.9 kB / 1.324 GB, free: 9.637 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/1.616, allocations: 33.08 kB / 1.324 GB, free: 9.602 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/1.616, allocations: 153.5 kB / 1.324 GB, free: 9.469 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/1.616, allocations: 56.47 kB / 1.324 GB, free: 9.426 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/1.616, allocations: 84.95 kB / 1.324 GB, free: 9.387 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.616, allocations: 343.5 kB / 1.325 GB, free: 9.059 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/1.617, allocations: 135 kB / 1.325 GB, free: 9.016 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/1.617, allocations: 218.2 kB / 1.325 GB, free: 8.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/1.618, allocations: 349.1 kB / 1.325 GB, free: 8.695 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.618, allocations: 1.562 kB / 1.325 GB, free: 8.695 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003562/1.622, allocations: 0.8619 MB / 1.326 GB, free: 8.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/1.622, allocations: 35.89 kB / 1.326 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.622, allocations: 1.469 kB / 1.326 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009296/1.623, allocations: 193.1 kB / 1.326 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/1.623, allocations: 40.55 kB / 1.326 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/1.626, allocations: 2.341 MB / 1.329 GB, free: 6.156 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005451/1.627, allocations: 52.12 kB / 1.329 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/1.627, allocations: 21.67 kB / 1.329 GB, free: 6.121 MB / 1.014 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.000287/1.627, allocations: 183.3 kB / 1.329 GB, free: 5.957 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/1.627, allocations: 32.64 kB / 1.329 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/1.627, allocations: 25.12 kB / 1.329 GB, free: 5.926 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/1.627, allocations: 2.438 kB / 1.329 GB, free: 5.926 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.627, allocations: 4 kB / 1.329 GB, free: 5.922 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.627, allocations: 8.016 kB / 1.329 GB, free: 5.918 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/1.63, allocations: 1.039 MB / 1.33 GB, free: 5.387 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.63, allocations: 5.031 kB / 1.33 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/1.63, allocations: 5.188 kB / 1.33 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003164/1.631, allocations: 114.2 kB / 1.33 GB, free: 5.344 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/1.631, allocations: 10.75 kB / 1.33 GB, free: 5.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009878/1.632, allocations: 0.7496 MB / 1.331 GB, free: 4.688 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.632, allocations: 3.938 kB / 1.331 GB, free: 4.684 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/1.635, allocations: 0.8762 MB / 1.332 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/1.635, allocations: 139.5 kB / 1.332 GB, free: 4.191 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/1.635, allocations: 9.094 kB / 1.332 GB, free: 4.188 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/1.635, allocations: 10.72 kB / 1.332 GB, free: 4.188 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/1.635, allocations: 12.78 kB / 1.332 GB, free: 4.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/1.635, allocations: 8.312 kB / 1.332 GB, free: 4.184 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003574/1.636, allocations: 238.7 kB / 1.332 GB, free: 4.059 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.636, allocations: 5.375 kB / 1.332 GB, free: 4.055 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000829/1.637, allocations: 117.5 kB / 1.332 GB, free: 4.035 MB / 1.014 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.0004235/1.637, allocations: 173.5 kB / 1.332 GB, free: 3.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001653/1.639, allocations: 0.5779 MB / 1.333 GB, free: 3.605 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.639, allocations: 1.531 kB / 1.333 GB, free: 3.605 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007354/1.639, allocations: 259.1 kB / 1.333 GB, free: 3.465 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/1.64, allocations: 78.44 kB / 1.333 GB, free: 3.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/1.641, allocations: 0.6253 MB / 1.334 GB, free: 3.066 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/1.642, allocations: 0.7608 MB / 1.335 GB, free: 2.363 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001678/1.642, allocations: 26.75 kB / 1.335 GB, free: 2.355 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/1.642, allocations: 22.34 kB / 1.335 GB, free: 2.348 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.642, allocations: 0 / 1.335 GB, free: 2.348 MB / 1.014 GB Notification: Performance of Templates: time 0.01593/1.658, allocations: 7.231 MB / 1.342 GB, free: 1.707 MB / 1.014 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 -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/jenkins/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