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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.048/3.048, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003121/0.003121, allocations: 59.91 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8657/0.8688, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003813/0.8726, allocations: 3.036 MB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1985/1.071, allocations: 156.8 MB / 1.496 GB, free: 7.605 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/1.072, allocations: 3.312 kB / 1.496 GB, free: 7.605 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004234/1.072, allocations: 92.94 kB / 1.496 GB, free: 7.527 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/1.073, allocations: 286.8 kB / 1.497 GB, free: 7.301 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003323/1.077, allocations: 1.026 MB / 1.498 GB, free: 6.574 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001345/1.078, allocations: 0.7878 MB / 1.498 GB, free: 6.109 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/1.078, allocations: 69.86 kB / 1.498 GB, free: 6.062 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00062/1.079, allocations: 331.5 kB / 1.499 GB, free: 5.883 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007444/1.08, allocations: 337.1 kB / 1.499 GB, free: 5.59 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/1.08, allocations: 60 kB / 1.499 GB, free: 5.531 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/1.082, allocations: 0.8499 MB / 1.5 GB, free: 4.68 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/1.082, allocations: 147.6 kB / 1.5 GB, free: 4.535 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004612/1.083, allocations: 286.7 kB / 1.5 GB, free: 4.254 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002116/1.085, allocations: 0.9889 MB / 1.501 GB, free: 3.262 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.085, allocations: 0 / 1.501 GB, free: 3.262 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.804e-06/1.085, allocations: 0 / 1.501 GB, free: 3.262 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.828e-05/1.085, allocations: 0 / 1.501 GB, free: 3.262 MB / 1.17 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.003201/1.088, allocations: 1.083 MB / 1.502 GB, free: 2.117 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.088, allocations: 12.03 kB / 1.502 GB, free: 2.105 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.759e-05/1.088, allocations: 4.188 kB / 1.502 GB, free: 2.102 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.209e-05/1.088, allocations: 58.73 kB / 1.502 GB, free: 2.035 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/1.092, allocations: 327.6 kB / 1.503 GB, free: 1.715 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008217/1.092, allocations: 413.1 kB / 1.503 GB, free: 1.277 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/1.093, allocations: 87.84 kB / 1.503 GB, free: 1.18 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.093, allocations: 39.94 kB / 1.503 GB, free: 1.141 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009642/1.094, allocations: 380.2 kB / 1.504 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/1.094, allocations: 0 / 1.504 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/1.094, allocations: 8 kB / 1.504 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/1.094, allocations: 7.938 kB / 1.504 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008527/1.095, allocations: 261.5 kB / 1.504 GB, free: 488 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005078/1.1, allocations: 1.673 MB / 1.506 GB, free: 14.73 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008972/1.101, allocations: 230.6 kB / 1.506 GB, free: 14.5 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/1.101, allocations: 152.8 kB / 1.506 GB, free: 14.35 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-05/1.101, allocations: 7.969 kB / 1.506 GB, free: 14.34 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000819/1.102, allocations: 296.8 kB / 1.506 GB, free: 14.03 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 2.515e-06/1.102, allocations: 7.938 kB / 1.506 GB, free: 14.02 MB / 1.186 GB Notification: Performance of matching and sorting (n=30): time 0.009525/1.111, allocations: 1.52 MB / 1.508 GB, free: 12.45 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/1.112, allocations: 81.11 kB / 1.508 GB, free: 12.36 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007292/1.112, allocations: 457.8 kB / 1.508 GB, free: 11.9 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001929/1.112, allocations: 41.7 kB / 1.508 GB, free: 11.85 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/1.113, allocations: 201 kB / 1.508 GB, free: 11.65 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/1.113, allocations: 107.1 kB / 1.509 GB, free: 11.55 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003544/1.113, allocations: 154.2 kB / 1.509 GB, free: 11.39 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001928/1.113, allocations: 358.7 kB / 1.509 GB, free: 11.03 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009159/1.114, allocations: 273.2 kB / 1.509 GB, free: 10.77 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/1.115, allocations: 421.8 kB / 1.51 GB, free: 10.32 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008731/1.124, allocations: 1.859 MB / 1.512 GB, free: 8.406 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.124, allocations: 4 kB / 1.512 GB, free: 8.402 MB / 1.186 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008757/1.133, allocations: 1.592 MB / 1.513 GB, free: 6.777 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 9.002e-05/1.133, allocations: 67.34 kB / 1.513 GB, free: 6.699 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.133, allocations: 0 / 1.513 GB, free: 6.699 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/1.135, allocations: 391.2 kB / 1.514 GB, free: 6.305 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/1.136, allocations: 95.8 kB / 1.514 GB, free: 6.211 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006906/1.143, allocations: 4.684 MB / 1.518 GB, free: 1.191 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/1.144, allocations: 111.5 kB / 1.518 GB, free: 1.082 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/1.144, allocations: 35.91 kB / 1.518 GB, free: 1.047 MB / 1.186 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.0003618/1.144, allocations: 182.4 kB / 1.518 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/1.144, allocations: 47.67 kB / 1.519 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/1.144, allocations: 39.58 kB / 1.519 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/1.144, allocations: 7.938 kB / 1.519 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.144, allocations: 0 / 1.519 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/1.144, allocations: 3.984 kB / 1.519 GB, free: 0.7656 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006377/1.145, allocations: 469.3 kB / 1.519 GB, free: 264 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.145, allocations: 0 / 1.519 GB, free: 264 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/1.145, allocations: 35.91 kB / 1.519 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007192/1.146, allocations: 229.6 kB / 1.519 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/1.146, allocations: 11.92 kB / 1.519 GB, free: 15.98 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/1.148, allocations: 1.492 MB / 1.521 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.148, allocations: 0 / 1.521 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007055/1.155, allocations: 1.311 MB / 1.522 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/1.155, allocations: 160.7 kB / 1.522 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.185e-05/1.156, allocations: 11.98 kB / 1.522 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/1.156, allocations: 39.95 kB / 1.522 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/1.156, allocations: 31.95 kB / 1.522 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/1.156, allocations: 23.92 kB / 1.522 GB, free: 12.82 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004605/1.157, allocations: 303.1 kB / 1.523 GB, free: 12.53 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.157, allocations: 0 / 1.523 GB, free: 12.53 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007465/1.157, allocations: 163.9 kB / 1.523 GB, free: 12.37 MB / 1.201 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.00384/1.161, allocations: 1.439 MB / 1.524 GB, free: 10.89 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003676/1.165, allocations: 1.005 MB / 1.525 GB, free: 9.828 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.165, allocations: 0 / 1.525 GB, free: 9.828 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/1.167, allocations: 312.5 kB / 1.525 GB, free: 9.52 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/1.167, allocations: 121.6 kB / 1.526 GB, free: 9.398 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02287/1.19, allocations: 6.595 MB / 1.532 GB, free: 2.645 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/1.191, allocations: 0.8074 MB / 1.533 GB, free: 1.812 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003365/1.191, allocations: 51.28 kB / 1.533 GB, free: 1.762 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/1.191, allocations: 139.4 kB / 1.533 GB, free: 1.625 MB / 1.201 GB Notification: Performance of SimCode: time 7.32e-07/1.191, allocations: 0 / 1.533 GB, free: 1.625 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05183/1.243, allocations: 16.63 MB / 1.549 GB, free: 1.309 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.49, allocations: 15.98 kB / 1.549 GB, free: 1.293 MB / 1.217 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.044600358000025]