Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.505/2.505, allocations: 469.8 MB / 0.7424 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 71.75 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2629, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003357/0.2663, allocations: 2.392 MB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1508/0.4171, allocations: 151 MB / 1.214 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.4173, allocations: 0 / 1.214 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.4176, allocations: 95.42 kB / 1.214 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.4181, allocations: 234.6 kB / 1.214 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.4194, allocations: 0.6559 MB / 1.215 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.4198, allocations: 434.6 kB / 1.215 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.4199, allocations: 52.7 kB / 1.215 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.4201, allocations: 179.4 kB / 1.215 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.4204, allocations: 199.4 kB / 1.216 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.4204, allocations: 28 kB / 1.216 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009819/0.4214, allocations: 0.6278 MB / 1.216 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.4215, allocations: 79.73 kB / 1.216 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.4217, allocations: 167.2 kB / 1.217 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007764/0.4225, allocations: 0.6467 MB / 1.217 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4225, allocations: 0 / 1.217 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4225, allocations: 0 / 1.217 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.4225, allocations: 0 / 1.217 GB, free: 0.8477 MB / 0.9669 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.001364/0.4239, allocations: 0.7493 MB / 1.218 GB, free: 44 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.4239, allocations: 8.031 kB / 1.218 GB, free: 36 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.424, allocations: 50.73 kB / 1.218 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.4254, allocations: 164.3 kB / 1.218 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.4258, allocations: 310.5 kB / 1.218 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.4259, allocations: 45.7 kB / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.426, allocations: 24 kB / 1.218 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.4264, allocations: 204.8 kB / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.4264, allocations: 0 / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.4264, allocations: 8 kB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.4264, allocations: 0 / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.4267, allocations: 124.1 kB / 1.219 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.429, allocations: 0.9886 MB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.4297, allocations: 166.4 kB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.4299, allocations: 96.83 kB / 1.22 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.4299, allocations: 0 / 1.22 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.4303, allocations: 203.3 kB / 1.22 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.4303, allocations: 0 / 1.22 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.003777/0.4341, allocations: 0.8518 MB / 1.221 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.4342, allocations: 85.11 kB / 1.221 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.4346, allocations: 344.4 kB / 1.221 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.4346, allocations: 29.7 kB / 1.221 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.4347, allocations: 160.5 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.4348, allocations: 55.19 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.435, allocations: 89.94 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4351, allocations: 346.7 kB / 1.222 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.4354, allocations: 136.5 kB / 1.222 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.4358, allocations: 221.3 kB / 1.222 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/0.4364, allocations: 332.7 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4364, allocations: 4 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003445/0.4399, allocations: 0.8616 MB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.4399, allocations: 41.75 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4399, allocations: 0 / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008405/0.4408, allocations: 197.5 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.441, allocations: 43.91 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/0.4438, allocations: 2.338 MB / 1.226 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.4442, allocations: 43.73 kB / 1.226 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.4443, allocations: 19.98 kB / 1.226 GB, free: 7.035 MB / 0.9825 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.0002043/0.4445, allocations: 196.5 kB / 1.226 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.4445, allocations: 31.62 kB / 1.226 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.4446, allocations: 31.17 kB / 1.226 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4446, allocations: 0 / 1.226 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.4446, allocations: 7.938 kB / 1.226 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4446, allocations: 4 kB / 1.226 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.4476, allocations: 1.029 MB / 1.227 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4477, allocations: 7.938 kB / 1.227 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.4477, allocations: 4 kB / 1.227 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002893/0.448, allocations: 116.8 kB / 1.228 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.448, allocations: 11.92 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008552/0.4489, allocations: 0.7497 MB / 1.228 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4489, allocations: 0 / 1.228 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/0.4519, allocations: 0.8761 MB / 1.229 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.452, allocations: 136.6 kB / 1.229 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.4521, allocations: 4 kB / 1.229 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.4523, allocations: 15.98 kB / 1.229 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.4524, allocations: 7.984 kB / 1.229 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.4524, allocations: 15.98 kB / 1.229 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000281/0.4527, allocations: 235 kB / 1.23 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4527, allocations: 64 / 1.23 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004033/0.4531, allocations: 116 kB / 1.23 GB, free: 3.312 MB / 0.9825 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.001497/0.4546, allocations: 1.224 MB / 1.231 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.456, allocations: 0.5735 MB / 1.231 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4561, allocations: 4.062 kB / 1.231 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007006/0.4568, allocations: 252.8 kB / 1.232 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.4572, allocations: 72.92 kB / 1.232 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.4673, allocations: 4.362 MB / 1.236 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.4677, allocations: 0.7599 MB / 1.237 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.4678, allocations: 34.22 kB / 1.237 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.4679, allocations: 83.41 kB / 1.237 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.468, allocations: 0 / 1.237 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.343/4.811, allocations: 10.22 MB / 1.247 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/19.18, allocations: 6.812 kB / 1.247 GB, free: 1.758 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches