Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00135/0.00135, allocations: 116.4 kB / 16.37 MB, free: 6 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.001356/0.001356, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.348/1.348, 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.467/2.467, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 64.62 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3478, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004519/0.3524, allocations: 3.015 MB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7815/1.134, allocations: 153.4 MB / 1.172 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/1.134, allocations: 7.594 kB / 1.172 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003554/1.135, allocations: 89.56 kB / 1.172 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0009579/1.136, allocations: 279.6 kB / 1.172 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/1.138, allocations: 1.007 MB / 1.173 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001041/1.14, allocations: 0.7884 MB / 1.174 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/1.14, allocations: 90.81 kB / 1.174 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004181/1.14, allocations: 320.6 kB / 1.174 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/1.141, allocations: 333.5 kB / 1.174 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.997e-05/1.141, allocations: 64.22 kB / 1.174 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/1.142, allocations: 0.7903 MB / 1.175 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/1.143, allocations: 157.3 kB / 1.175 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002809/1.143, allocations: 286.9 kB / 1.176 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00139/1.144, allocations: 0.9589 MB / 1.177 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.144, allocations: 7.938 kB / 1.177 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/1.144, allocations: 1.156 kB / 1.177 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.144, allocations: 0 / 1.177 GB, free: 13.09 MB / 0.8887 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.002659/1.147, allocations: 1.054 MB / 1.178 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.147, allocations: 13.53 kB / 1.178 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/1.15, allocations: 270 kB / 1.178 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007691/1.15, allocations: 406.3 kB / 1.178 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/1.151, allocations: 87.78 kB / 1.178 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/1.151, allocations: 39.09 kB / 1.178 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009358/1.152, allocations: 383.1 kB / 1.179 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.152, allocations: 0 / 1.179 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/1.152, allocations: 6.312 kB / 1.179 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/1.152, allocations: 5.562 kB / 1.179 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/1.152, allocations: 261.9 kB / 1.179 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004881/1.157, allocations: 1.682 MB / 1.181 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/1.158, allocations: 254.4 kB / 1.181 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/1.159, allocations: 158.3 kB / 1.181 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/1.159, allocations: 2.875 kB / 1.181 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007035/1.159, allocations: 315.1 kB / 1.181 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=30): time 2.645e-06/1.159, allocations: 0 / 1.181 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30): time 0.008562/1.168, allocations: 1.512 MB / 1.183 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/1.168, allocations: 85.34 kB / 1.183 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/1.169, allocations: 450.1 kB / 1.183 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002401/1.169, allocations: 42.48 kB / 1.183 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/1.169, allocations: 199.5 kB / 1.184 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/1.169, allocations: 93.09 kB / 1.184 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/1.17, allocations: 163.3 kB / 1.184 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.17, allocations: 354 kB / 1.184 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000849/1.171, allocations: 268.4 kB / 1.184 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009299/1.172, allocations: 424.7 kB / 1.185 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007476/1.179, allocations: 1.853 MB / 1.187 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/1.179, allocations: 3.938 kB / 1.187 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007507/1.187, allocations: 1.571 MB / 1.188 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.325e-05/1.187, allocations: 62.3 kB / 1.188 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.187, allocations: 4.094 kB / 1.188 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/1.189, allocations: 402.7 kB / 1.189 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/1.189, allocations: 93.56 kB / 1.189 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006057/1.195, allocations: 4.679 MB / 1.193 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.196, allocations: 101.2 kB / 1.193 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/1.197, allocations: 34.31 kB / 1.193 GB, free: 388 kB / 0.8887 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.0004796/1.197, allocations: 176.4 kB / 1.194 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/1.197, allocations: 43.59 kB / 1.194 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.615e-05/1.197, allocations: 39.2 kB / 1.194 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.197, allocations: 4.688 kB / 1.194 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.197, allocations: 0 / 1.194 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.198, allocations: 11.92 kB / 1.194 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007213/1.198, allocations: 472.7 kB / 1.194 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.198, allocations: 2.844 kB / 1.194 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/1.198, allocations: 31.91 kB / 1.194 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006464/1.199, allocations: 228 kB / 1.194 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/1.199, allocations: 14.34 kB / 1.194 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/1.201, allocations: 1.486 MB / 1.196 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.201, allocations: 3.984 kB / 1.196 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006175/1.207, allocations: 1.286 MB / 1.197 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/1.208, allocations: 165.9 kB / 1.197 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/1.208, allocations: 6.688 kB / 1.197 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/1.208, allocations: 42.33 kB / 1.197 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.208, allocations: 35.05 kB / 1.197 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/1.209, allocations: 19.94 kB / 1.197 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004225/1.209, allocations: 298.1 kB / 1.198 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/1.209, allocations: 3.938 kB / 1.198 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008543/1.21, allocations: 158.3 kB / 1.198 GB, free: 13.13 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004159/1.21, allocations: 174 kB / 1.198 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003378/1.214, allocations: 1.037 MB / 1.199 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/1.214, allocations: 3 kB / 1.199 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/1.215, allocations: 333.9 kB / 1.199 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/1.216, allocations: 115.6 kB / 1.199 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/1.218, allocations: 0.902 MB / 1.2 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/1.218, allocations: 0.8064 MB / 1.201 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003605/1.219, allocations: 52.97 kB / 1.201 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/1.219, allocations: 33.98 kB / 1.201 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of SimCode: time 2.265e-06/1.219, allocations: 0 / 1.201 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.0228/1.242, allocations: 12.28 MB / 1.213 GB, free: 1.055 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches