Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001288/0.001288, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001482/0.001482, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.487/3.487, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 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.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.002009/0.002009, allocations: 62.39 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4293, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08334/0.5127, allocations: 72.1 MB / 1.416 GB, free: 8.105 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02955/0.5422, allocations: 19.09 MB / 1.434 GB, free: 4.961 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003193/0.5454, allocations: 95.19 kB / 1.434 GB, free: 4.867 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.5484, allocations: 0.8579 MB / 1.435 GB, free: 4.004 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.5596, allocations: 3.05 MB / 1.438 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006045/0.5657, allocations: 1.711 MB / 1.44 GB, free: 15.24 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.008564/0.5743, allocations: 4.077 MB / 1.444 GB, free: 11.15 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003356/0.5776, allocations: 1.157 MB / 1.445 GB, free: 9.953 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006115/0.5837, allocations: 1.989 MB / 1.447 GB, free: 7.961 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/0.5866, allocations: 1.206 MB / 1.448 GB, free: 6.75 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006204/0.5872, allocations: 176 kB / 1.448 GB, free: 6.578 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.5913, allocations: 1.49 MB / 1.45 GB, free: 5.086 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0007664/0.5921, allocations: 398.5 kB / 1.45 GB, free: 4.695 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001771/0.5938, allocations: 0.9216 MB / 1.451 GB, free: 3.77 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005602/0.5994, allocations: 3.157 MB / 1.454 GB, free: 0.6016 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5994, allocations: 3.938 kB / 1.454 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5995, allocations: 0 / 1.454 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.246e-05/0.5995, allocations: 0 / 1.454 GB, free: 0.5977 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004477/0.604, allocations: 2.012 MB / 1.456 GB, free: 14.54 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.604, allocations: 8.031 kB / 1.456 GB, free: 14.53 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.303e-05/0.6041, allocations: 34.16 kB / 1.456 GB, free: 14.49 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.6043, allocations: 156.6 kB / 1.456 GB, free: 14.33 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/0.6067, allocations: 458.4 kB / 1.457 GB, free: 13.88 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/0.61, allocations: 1.519 MB / 1.458 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.6101, allocations: 82.03 kB / 1.458 GB, free: 12.23 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.6102, allocations: 100 kB / 1.458 GB, free: 12.14 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.6131, allocations: 1.321 MB / 1.46 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.6131, allocations: 4 kB / 1.46 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.6132, allocations: 43.94 kB / 1.46 GB, free: 10.66 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.6133, allocations: 28 kB / 1.46 GB, free: 10.63 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002891/0.6161, allocations: 1.105 MB / 1.461 GB, free: 9.531 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.6272, allocations: 7.389 MB / 1.468 GB, free: 1.648 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.6306, allocations: 0.7693 MB / 1.469 GB, free: 0.875 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/0.6313, allocations: 270 kB / 1.469 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.6318, allocations: 156.3 kB / 1.469 GB, free: 464 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.6319, allocations: 42.94 kB / 1.469 GB, free: 412 kB / 1.154 GB Notification: Performance of pre-optimization done (n=48): time 2.845e-06/0.6319, allocations: 4 kB / 1.469 GB, free: 408 kB / 1.154 GB Notification: Performance of matching and sorting (n=48): time 0.005283/0.6372, allocations: 1.26 MB / 1.471 GB, free: 15.13 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.6372, allocations: 63.78 kB / 1.471 GB, free: 15.05 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/0.6406, allocations: 1.554 MB / 1.472 GB, free: 13.49 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.6407, allocations: 37.7 kB / 1.472 GB, free: 13.45 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007374/0.6414, allocations: 0.6857 MB / 1.473 GB, free: 12.76 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.6416, allocations: 178.5 kB / 1.473 GB, free: 12.58 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003408/0.642, allocations: 170.5 kB / 1.473 GB, free: 12.41 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.6422, allocations: 337.9 kB / 1.473 GB, free: 12.07 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.6432, allocations: 369.8 kB / 1.474 GB, free: 11.71 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.6447, allocations: 0.6545 MB / 1.474 GB, free: 10.93 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.6467, allocations: 0.8858 MB / 1.475 GB, free: 9.93 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.6467, allocations: 0 / 1.475 GB, free: 9.93 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00362/0.6504, allocations: 1.197 MB / 1.476 GB, free: 8.727 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.6504, allocations: 14.02 kB / 1.476 GB, free: 8.715 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.6504, allocations: 8 kB / 1.476 GB, free: 8.707 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.6514, allocations: 224.5 kB / 1.477 GB, free: 8.484 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008364/0.6523, allocations: 195.7 kB / 1.477 GB, free: 8.293 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.6533, allocations: 0.7163 MB / 1.478 GB, free: 7.551 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.655, allocations: 219 kB / 1.478 GB, free: 7.336 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.6551, allocations: 47.98 kB / 1.478 GB, free: 7.289 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007417/0.6559, allocations: 361.4 kB / 1.478 GB, free: 6.93 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004744/0.6564, allocations: 159 kB / 1.478 GB, free: 6.773 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/0.6592, allocations: 1.152 MB / 1.479 GB, free: 5.605 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.6593, allocations: 12 kB / 1.479 GB, free: 5.594 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.6593, allocations: 0 / 1.479 GB, free: 5.594 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6593, allocations: 3.984 kB / 1.479 GB, free: 5.59 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006221/0.6655, allocations: 2.507 MB / 1.482 GB, free: 3.004 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.6655, allocations: 4 kB / 1.482 GB, free: 3 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.6659, allocations: 83.81 kB / 1.482 GB, free: 2.918 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008432/0.6668, allocations: 220.8 kB / 1.482 GB, free: 2.699 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.6668, allocations: 19.98 kB / 1.482 GB, free: 2.68 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.6682, allocations: 0.7669 MB / 1.483 GB, free: 1.887 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.6683, allocations: 7.969 kB / 1.483 GB, free: 1.879 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003886/0.6721, allocations: 1.219 MB / 1.484 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007702/0.6729, allocations: 282.7 kB / 1.484 GB, free: 352 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/0.6733, allocations: 19.98 kB / 1.484 GB, free: 332 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.6743, allocations: 63.92 kB / 1.485 GB, free: 268 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.6745, allocations: 48.42 kB / 1.485 GB, free: 220 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.6745, allocations: 24.17 kB / 1.485 GB, free: 196 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002353/0.6769, allocations: 1.098 MB / 1.486 GB, free: 15.1 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6769, allocations: 3.938 kB / 1.486 GB, free: 15.09 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001781/0.6787, allocations: 447.1 kB / 1.486 GB, free: 14.66 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0051/0.6838, allocations: 2.124 MB / 1.488 GB, free: 12.48 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002516/0.6863, allocations: 0.8321 MB / 1.489 GB, free: 11.65 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6863, allocations: 0 / 1.489 GB, free: 11.65 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.6877, allocations: 427.8 kB / 1.489 GB, free: 11.23 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/0.6915, allocations: 0.7288 MB / 1.49 GB, free: 10.52 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/0.7137, allocations: 10.54 MB / 1.5 GB, free: 15.59 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.7148, allocations: 1.172 MB / 1.502 GB, free: 14.39 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001145/0.7159, allocations: 264.1 kB / 1.502 GB, free: 14.13 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008991/0.7168, allocations: 0.5461 MB / 1.502 GB, free: 13.58 MB / 1.201 GB Notification: Performance of SimCode: time 2.004e-06/0.7168, allocations: 0 / 1.502 GB, free: 13.58 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.8173, allocations: 44.57 MB / 1.546 GB, free: 1.473 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/16.88, allocations: 13.17 kB / 1.546 GB, free: 1.461 MB / 1.232 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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: 24.41649553499883]