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.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.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.001271/0.001271, allocations: 108.6 kB / 16.41 MB, free: 6.016 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.001194/0.001194, allocations: 188.3 kB / 17.34 MB, free: 5.629 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.496/1.496, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.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.677/2.677, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9946/0.9966, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00487/1.001, allocations: 2.995 MB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.2109/1.212, allocations: 153.4 MB / 1.32 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/1.213, allocations: 7.938 kB / 1.32 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004149/1.213, allocations: 94.94 kB / 1.32 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001018/1.214, allocations: 286.1 kB / 1.32 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/1.217, allocations: 1.03 MB / 1.321 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001065/1.218, allocations: 0.7876 MB / 1.322 GB, free: 4.652 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/1.219, allocations: 86.05 kB / 1.322 GB, free: 4.566 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004562/1.219, allocations: 327 kB / 1.323 GB, free: 4.246 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/1.22, allocations: 342.8 kB / 1.323 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/1.22, allocations: 60 kB / 1.323 GB, free: 3.852 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/1.222, allocations: 0.7914 MB / 1.324 GB, free: 3.059 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/1.222, allocations: 151.6 kB / 1.324 GB, free: 2.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003074/1.222, allocations: 290.6 kB / 1.324 GB, free: 2.625 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/1.224, allocations: 0.9779 MB / 1.325 GB, free: 1.648 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.224, allocations: 0 / 1.325 GB, free: 1.648 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.704e-06/1.224, allocations: 0 / 1.325 GB, free: 1.648 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.359e-05/1.224, allocations: 0 / 1.325 GB, free: 1.648 MB / 1.045 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.002788/1.226, allocations: 1.081 MB / 1.326 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.226, allocations: 16.88 kB / 1.326 GB, free: 500 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00252/1.229, allocations: 264.1 kB / 1.326 GB, free: 236 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000696/1.23, allocations: 405.1 kB / 1.327 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/1.23, allocations: 95.83 kB / 1.327 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/1.23, allocations: 40 kB / 1.327 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008306/1.231, allocations: 372.2 kB / 1.327 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.231, allocations: 0 / 1.327 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/1.231, allocations: 15.98 kB / 1.327 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/1.231, allocations: 7.938 kB / 1.327 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/1.232, allocations: 257.4 kB / 1.328 GB, free: 14.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004612/1.236, allocations: 1.677 MB / 1.329 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008527/1.237, allocations: 266.5 kB / 1.33 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/1.238, allocations: 156.8 kB / 1.33 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/1.238, allocations: 7.984 kB / 1.33 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00075/1.238, allocations: 305.3 kB / 1.33 GB, free: 12.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.784e-06/1.238, allocations: 0 / 1.33 GB, free: 12.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.008125/1.247, allocations: 1.498 MB / 1.331 GB, free: 10.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/1.247, allocations: 89.05 kB / 1.332 GB, free: 10.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/1.247, allocations: 453.8 kB / 1.332 GB, free: 10.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/1.248, allocations: 41.7 kB / 1.332 GB, free: 10.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/1.248, allocations: 201 kB / 1.332 GB, free: 10.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/1.248, allocations: 107.2 kB / 1.332 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003459/1.248, allocations: 154.2 kB / 1.332 GB, free: 9.879 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002282/1.249, allocations: 362.7 kB / 1.333 GB, free: 9.516 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008215/1.249, allocations: 273.1 kB / 1.333 GB, free: 9.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.251, allocations: 417.8 kB / 1.333 GB, free: 8.816 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007819/1.258, allocations: 1.862 MB / 1.335 GB, free: 6.895 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.258, allocations: 0 / 1.335 GB, free: 6.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007369/1.266, allocations: 1.576 MB / 1.337 GB, free: 5.285 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.139e-05/1.266, allocations: 63.41 kB / 1.337 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.266, allocations: 4.125 kB / 1.337 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/1.268, allocations: 398.9 kB / 1.337 GB, free: 4.805 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/1.268, allocations: 87.81 kB / 1.337 GB, free: 4.719 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006583/1.275, allocations: 4.685 MB / 1.342 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009896/1.276, allocations: 103.5 kB / 1.342 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.63e-05/1.276, allocations: 39.95 kB / 1.342 GB, free: 15.56 MB / 1.076 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.0003528/1.276, allocations: 167.8 kB / 1.342 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.851e-05/1.276, allocations: 47.67 kB / 1.342 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.027e-05/1.276, allocations: 39.58 kB / 1.342 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.276, allocations: 8 kB / 1.342 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.276, allocations: 7.922 kB / 1.342 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.276, allocations: 0 / 1.342 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/1.277, allocations: 465.3 kB / 1.343 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.277, allocations: 0 / 1.343 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/1.277, allocations: 35.97 kB / 1.343 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006514/1.278, allocations: 229.9 kB / 1.343 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/1.278, allocations: 15.92 kB / 1.343 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/1.28, allocations: 1.496 MB / 1.344 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.28, allocations: 0 / 1.344 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006145/1.286, allocations: 1.274 MB / 1.346 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/1.287, allocations: 168.7 kB / 1.346 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/1.287, allocations: 8 kB / 1.346 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/1.287, allocations: 39.95 kB / 1.346 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/1.287, allocations: 47.81 kB / 1.346 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/1.287, allocations: 16.08 kB / 1.346 GB, free: 11.36 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004326/1.288, allocations: 299.1 kB / 1.346 GB, free: 11.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.288, allocations: 4 kB / 1.346 GB, free: 11.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006849/1.288, allocations: 163.8 kB / 1.346 GB, free: 10.91 MB / 1.076 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.0003751/1.289, allocations: 168.6 kB / 1.347 GB, free: 10.74 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003303/1.292, allocations: 1.044 MB / 1.348 GB, free: 9.637 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.292, allocations: 0 / 1.348 GB, free: 9.637 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/1.294, allocations: 329.5 kB / 1.348 GB, free: 9.309 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/1.294, allocations: 106.9 kB / 1.348 GB, free: 9.203 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/1.296, allocations: 0.9271 MB / 1.349 GB, free: 8.262 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/1.297, allocations: 0.8118 MB / 1.35 GB, free: 7.426 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002795/1.297, allocations: 55.28 kB / 1.35 GB, free: 7.371 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/1.297, allocations: 35.42 kB / 1.35 GB, free: 7.336 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.297, allocations: 0 / 1.35 GB, free: 7.336 MB / 1.076 GB Notification: Performance of Templates: time 0.02336/1.321, allocations: 12.35 MB / 1.362 GB, free: 11.08 MB / 1.092 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 cvode -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