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.001812/0.001812, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.002484/0.002484, allocations: 187 kB / 17.34 MB, free: 5.762 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.495/1.495, 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.1-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.999/1, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004633/1.005, allocations: 3.003 MB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1734/1.179, allocations: 153.4 MB / 1.32 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006811/1.179, allocations: 7.938 kB / 1.32 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006124/1.18, allocations: 95.25 kB / 1.32 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/1.181, allocations: 286 kB / 1.32 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/1.185, allocations: 1.026 MB / 1.321 GB, free: 5.477 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001213/1.186, allocations: 0.7914 MB / 1.322 GB, free: 4.684 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/1.186, allocations: 86.06 kB / 1.322 GB, free: 4.598 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/1.187, allocations: 331 kB / 1.323 GB, free: 4.273 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/1.187, allocations: 330.8 kB / 1.323 GB, free: 3.949 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001941/1.188, allocations: 60 kB / 1.323 GB, free: 3.891 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/1.189, allocations: 0.7992 MB / 1.324 GB, free: 3.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/1.189, allocations: 151.6 kB / 1.324 GB, free: 2.941 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004003/1.19, allocations: 286.7 kB / 1.324 GB, free: 2.66 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/1.191, allocations: 0.964 MB / 1.325 GB, free: 1.695 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.191, allocations: 0 / 1.325 GB, free: 1.695 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.853e-06/1.191, allocations: 7.938 kB / 1.325 GB, free: 1.688 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.871e-05/1.192, allocations: 3.984 kB / 1.325 GB, free: 1.684 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.003215/1.195, allocations: 1.059 MB / 1.326 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.195, allocations: 12.88 kB / 1.326 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/1.198, allocations: 271.7 kB / 1.326 GB, free: 292 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/1.199, allocations: 416.9 kB / 1.327 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/1.199, allocations: 87.84 kB / 1.327 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/1.199, allocations: 43.98 kB / 1.327 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009205/1.2, allocations: 364.2 kB / 1.327 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/1.2, allocations: 7.938 kB / 1.327 GB, free: 15.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/1.2, allocations: 12 kB / 1.327 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/1.2, allocations: 4 kB / 1.327 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007951/1.201, allocations: 261.4 kB / 1.328 GB, free: 15.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/1.206, allocations: 1.677 MB / 1.329 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008011/1.207, allocations: 250.6 kB / 1.329 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/1.207, allocations: 156.8 kB / 1.33 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/1.207, allocations: 7.984 kB / 1.33 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007644/1.208, allocations: 312.7 kB / 1.33 GB, free: 12.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.856e-06/1.208, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.008798/1.217, allocations: 1.493 MB / 1.331 GB, free: 11.01 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/1.217, allocations: 85.09 kB / 1.331 GB, free: 10.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006535/1.218, allocations: 453.7 kB / 1.332 GB, free: 10.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/1.218, allocations: 41.69 kB / 1.332 GB, free: 10.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/1.218, allocations: 208.8 kB / 1.332 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/1.218, allocations: 98.64 kB / 1.332 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/1.218, allocations: 154.2 kB / 1.332 GB, free: 9.941 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.219, allocations: 350.8 kB / 1.333 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008129/1.219, allocations: 277.1 kB / 1.333 GB, free: 9.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009502/1.22, allocations: 421.8 kB / 1.333 GB, free: 8.883 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007803/1.228, allocations: 1.858 MB / 1.335 GB, free: 6.965 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.228, allocations: 0 / 1.335 GB, free: 6.965 MB / 1.061 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007717/1.236, allocations: 1.568 MB / 1.337 GB, free: 5.363 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/1.236, allocations: 63.39 kB / 1.337 GB, free: 5.289 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.236, allocations: 4 kB / 1.337 GB, free: 5.285 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/1.238, allocations: 391.1 kB / 1.337 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/1.239, allocations: 91.86 kB / 1.337 GB, free: 4.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006308/1.245, allocations: 4.688 MB / 1.342 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.246, allocations: 111.2 kB / 1.342 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/1.246, allocations: 35.97 kB / 1.342 GB, free: 15.64 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.0004118/1.247, allocations: 172.6 kB / 1.342 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/1.247, allocations: 47.44 kB / 1.342 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.558e-05/1.247, allocations: 39.58 kB / 1.342 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.247, allocations: 4 kB / 1.342 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/1.247, allocations: 7.938 kB / 1.342 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.247, allocations: 7.984 kB / 1.342 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006561/1.248, allocations: 473.2 kB / 1.343 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.248, allocations: 0 / 1.343 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/1.248, allocations: 27.97 kB / 1.343 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006337/1.248, allocations: 225.5 kB / 1.343 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/1.248, allocations: 11.98 kB / 1.343 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/1.25, allocations: 1.488 MB / 1.344 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.25, allocations: 0 / 1.344 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006461/1.257, allocations: 1.289 MB / 1.346 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/1.257, allocations: 160.5 kB / 1.346 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/1.257, allocations: 8 kB / 1.346 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/1.258, allocations: 35.95 kB / 1.346 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/1.258, allocations: 39.94 kB / 1.346 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/1.258, allocations: 15.98 kB / 1.346 GB, free: 11.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004467/1.259, allocations: 303.1 kB / 1.346 GB, free: 11.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.259, allocations: 7.875 kB / 1.346 GB, free: 11.15 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007637/1.259, allocations: 163.8 kB / 1.346 GB, free: 10.99 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.0003787/1.26, allocations: 171.2 kB / 1.347 GB, free: 10.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003451/1.263, allocations: 1.037 MB / 1.348 GB, free: 9.723 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.263, allocations: 0 / 1.348 GB, free: 9.723 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/1.265, allocations: 325.5 kB / 1.348 GB, free: 9.398 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/1.265, allocations: 123.4 kB / 1.348 GB, free: 9.277 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/1.267, allocations: 0.931 MB / 1.349 GB, free: 8.324 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/1.268, allocations: 0.804 MB / 1.35 GB, free: 7.496 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/1.268, allocations: 39.41 kB / 1.35 GB, free: 7.457 MB / 1.076 GB Notification: Performance of SimCode: time 6.41e-07/1.268, allocations: 0 / 1.35 GB, free: 7.457 MB / 1.076 GB Notification: Performance of Templates: time 0.01713/1.285, allocations: 12.23 MB / 1.362 GB, free: 11.26 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 -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