Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.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.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001556, allocations: 109.5 kB / 16.41 MB, free: 5.996 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.001909/0.001909, allocations: 188.9 kB / 17.35 MB, free: 5.582 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.404/1.404, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.714/2.714, allocations: 472.7 MB / 0.746 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 67.91 kB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9655/0.967, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005066/0.9721, allocations: 2.994 MB / 1.229 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1891/1.161, allocations: 153.4 MB / 1.379 GB, free: 492 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005638/1.162, allocations: 4 kB / 1.379 GB, free: 488 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004801/1.162, allocations: 94.98 kB / 1.379 GB, free: 396 kB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001228/1.164, allocations: 282.1 kB / 1.379 GB, free: 112 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002884/1.167, allocations: 1.025 MB / 1.381 GB, free: 15.09 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001172/1.168, allocations: 0.7876 MB / 1.381 GB, free: 14.3 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/1.168, allocations: 94.02 kB / 1.381 GB, free: 14.21 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005878/1.169, allocations: 327 kB / 1.382 GB, free: 13.89 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006451/1.169, allocations: 334.8 kB / 1.382 GB, free: 13.56 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/1.169, allocations: 60 kB / 1.382 GB, free: 13.5 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/1.171, allocations: 0.7914 MB / 1.383 GB, free: 12.71 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/1.171, allocations: 159.4 kB / 1.383 GB, free: 12.55 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004735/1.172, allocations: 286.8 kB / 1.383 GB, free: 12.27 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/1.174, allocations: 0.97 MB / 1.384 GB, free: 11.3 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.174, allocations: 0 / 1.384 GB, free: 11.3 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.337e-06/1.174, allocations: 4 kB / 1.384 GB, free: 11.3 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.881e-05/1.174, allocations: 3.938 kB / 1.384 GB, free: 11.3 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003174/1.177, allocations: 1.07 MB / 1.385 GB, free: 10.16 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.177, allocations: 12.03 kB / 1.385 GB, free: 10.15 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/1.18, allocations: 268.1 kB / 1.386 GB, free: 9.887 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/1.181, allocations: 409.1 kB / 1.386 GB, free: 9.445 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/1.181, allocations: 95.77 kB / 1.386 GB, free: 9.34 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/1.181, allocations: 40 kB / 1.386 GB, free: 9.301 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008685/1.182, allocations: 372.2 kB / 1.386 GB, free: 8.914 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.182, allocations: 0 / 1.386 GB, free: 8.914 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/1.182, allocations: 15.98 kB / 1.386 GB, free: 8.898 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/1.182, allocations: 4 kB / 1.386 GB, free: 8.895 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/1.183, allocations: 257.4 kB / 1.387 GB, free: 8.641 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004885/1.187, allocations: 1.685 MB / 1.388 GB, free: 6.891 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/1.188, allocations: 254.5 kB / 1.389 GB, free: 6.633 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/1.189, allocations: 156.8 kB / 1.389 GB, free: 6.477 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/1.189, allocations: 8 kB / 1.389 GB, free: 6.469 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007536/1.19, allocations: 308.7 kB / 1.389 GB, free: 6.148 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 2.715e-06/1.19, allocations: 0 / 1.389 GB, free: 6.148 MB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.008268/1.198, allocations: 1.498 MB / 1.39 GB, free: 4.602 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/1.198, allocations: 85.11 kB / 1.391 GB, free: 4.5 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/1.199, allocations: 461.7 kB / 1.391 GB, free: 4.035 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/1.199, allocations: 37.7 kB / 1.391 GB, free: 3.992 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/1.199, allocations: 201.1 kB / 1.391 GB, free: 3.793 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/1.199, allocations: 107.1 kB / 1.391 GB, free: 3.688 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/1.199, allocations: 150.2 kB / 1.391 GB, free: 3.531 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.199, allocations: 354.8 kB / 1.392 GB, free: 3.176 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007785/1.2, allocations: 277.1 kB / 1.392 GB, free: 2.906 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009435/1.201, allocations: 417.8 kB / 1.392 GB, free: 2.469 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007561/1.209, allocations: 1.856 MB / 1.394 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/1.209, allocations: 7.938 kB / 1.394 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007417/1.216, allocations: 1.584 MB / 1.396 GB, free: 14.93 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 7.28e-05/1.216, allocations: 60.66 kB / 1.396 GB, free: 14.86 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.216, allocations: 0 / 1.396 GB, free: 14.86 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/1.218, allocations: 395.1 kB / 1.396 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/1.219, allocations: 91.8 kB / 1.396 GB, free: 14.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006358/1.225, allocations: 4.681 MB / 1.401 GB, free: 9.359 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.226, allocations: 103.4 kB / 1.401 GB, free: 9.258 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/1.226, allocations: 43.95 kB / 1.401 GB, free: 9.215 MB / 1.123 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean evaSho.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: 8 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {7, 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003683/1.227, allocations: 168 kB / 1.401 GB, free: 9.043 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/1.227, allocations: 55.66 kB / 1.401 GB, free: 8.988 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/1.227, allocations: 39.58 kB / 1.401 GB, free: 8.949 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.227, allocations: 0 / 1.401 GB, free: 8.949 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.227, allocations: 0 / 1.401 GB, free: 8.949 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/1.227, allocations: 164.6 kB / 1.401 GB, free: 8.77 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/1.227, allocations: 11.92 kB / 1.401 GB, free: 8.758 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/1.228, allocations: 35.95 kB / 1.402 GB, free: 8.723 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/1.228, allocations: 67.91 kB / 1.402 GB, free: 8.656 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001971/1.23, allocations: 0.6602 MB / 1.402 GB, free: 7.984 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001755/1.232, allocations: 0.8534 MB / 1.403 GB, free: 7.113 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005203/1.232, allocations: 171.9 kB / 1.403 GB, free: 6.945 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004063/1.233, allocations: 295.1 kB / 1.403 GB, free: 6.66 MB / 1.123 GB Notification: Performance of Backend: time 7.61e-07/1.233, allocations: 4 kB / 1.403 GB, free: 6.656 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003854/1.237, allocations: 1.165 MB / 1.405 GB, free: 5.43 MB / 1.123 GB Notification: Performance of SimCode: time 0.001951/1.239, allocations: 1.43 MB / 1.406 GB, free: 3.969 MB / 1.123 GB Notification: Performance of Templates: time 0.02507/1.264, allocations: 14.26 MB / 1.42 GB, free: 5.781 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches