Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001676/0.001676, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002137/0.002137, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.869/2.869, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",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.002025/0.002025, allocations: 67.72 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3074, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.1146/0.422, allocations: 72 MB / 1.354 GB, free: 3.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05072/0.4727, allocations: 19.11 MB / 1.372 GB, free: 320 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004012/0.4767, allocations: 95.19 kB / 1.372 GB, free: 224 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004309/0.4811, allocations: 0.8502 MB / 1.373 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0163/0.4974, allocations: 3.072 MB / 1.376 GB, free: 12.28 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008299/0.5057, allocations: 1.716 MB / 1.378 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.5158, allocations: 4.091 MB / 1.382 GB, free: 6.469 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003018/0.5188, allocations: 1.161 MB / 1.383 GB, free: 5.266 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007323/0.5261, allocations: 1.851 MB / 1.385 GB, free: 3.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/0.5301, allocations: 1.237 MB / 1.386 GB, free: 2.168 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005583/0.5307, allocations: 180 kB / 1.386 GB, free: 1.992 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006558/0.5372, allocations: 1.493 MB / 1.388 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001/0.5382, allocations: 402.4 kB / 1.388 GB, free: 104 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002243/0.5405, allocations: 0.9139 MB / 1.389 GB, free: 15.18 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008226/0.5487, allocations: 3.146 MB / 1.392 GB, free: 12.03 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.5487, allocations: 0 / 1.392 GB, free: 12.03 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5487, allocations: 0 / 1.392 GB, free: 12.03 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.04e-05/0.5487, allocations: 0 / 1.392 GB, free: 12.03 MB / 1.092 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.006171/0.5549, allocations: 2.011 MB / 1.394 GB, free: 9.969 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.555, allocations: 12.03 kB / 1.394 GB, free: 9.957 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002919/0.5553, allocations: 156.6 kB / 1.394 GB, free: 9.797 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004103/0.5594, allocations: 455.2 kB / 1.395 GB, free: 9.352 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005742/0.5651, allocations: 1.508 MB / 1.396 GB, free: 7.797 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.5652, allocations: 78.03 kB / 1.396 GB, free: 7.719 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.5655, allocations: 108 kB / 1.396 GB, free: 7.613 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004682/0.5702, allocations: 1.313 MB / 1.398 GB, free: 6.191 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/0.5702, allocations: 4 kB / 1.398 GB, free: 6.188 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.5704, allocations: 44 kB / 1.398 GB, free: 6.145 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.5704, allocations: 24 kB / 1.398 GB, free: 6.121 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004981/0.5754, allocations: 1.104 MB / 1.399 GB, free: 5.016 MB / 1.092 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.01781/0.5932, allocations: 7.385 MB / 1.406 GB, free: 13.13 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00567/0.5989, allocations: 0.7705 MB / 1.407 GB, free: 12.36 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/0.5995, allocations: 262 kB / 1.407 GB, free: 12.1 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.6001, allocations: 164.3 kB / 1.407 GB, free: 11.94 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.6001, allocations: 46.94 kB / 1.407 GB, free: 11.88 MB / 1.107 GB Notification: Performance of pre-optimization done (n=48): time 2.235e-06/0.6001, allocations: 0 / 1.407 GB, free: 11.88 MB / 1.107 GB Notification: Performance of matching and sorting (n=48): time 0.004886/0.605, allocations: 1.26 MB / 1.408 GB, free: 10.61 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.6051, allocations: 55.84 kB / 1.408 GB, free: 10.54 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.6076, allocations: 1.545 MB / 1.41 GB, free: 8.988 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.923e-05/0.6077, allocations: 37.7 kB / 1.41 GB, free: 8.945 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006644/0.6084, allocations: 0.6896 MB / 1.411 GB, free: 8.25 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.6086, allocations: 178.5 kB / 1.411 GB, free: 8.074 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.6089, allocations: 174.5 kB / 1.411 GB, free: 7.898 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.609, allocations: 334 kB / 1.411 GB, free: 7.566 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.61, allocations: 373.7 kB / 1.412 GB, free: 7.203 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.6114, allocations: 0.6584 MB / 1.412 GB, free: 6.418 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.6132, allocations: 0.8858 MB / 1.413 GB, free: 5.426 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.6132, allocations: 4 kB / 1.413 GB, free: 5.422 MB / 1.107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003191/0.6164, allocations: 1.193 MB / 1.414 GB, free: 4.219 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.6165, allocations: 8 kB / 1.414 GB, free: 4.211 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.6165, allocations: 15.97 kB / 1.414 GB, free: 4.195 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009548/0.6174, allocations: 224.5 kB / 1.415 GB, free: 3.973 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/0.6182, allocations: 195.7 kB / 1.415 GB, free: 3.781 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000972/0.6192, allocations: 0.7162 MB / 1.415 GB, free: 3.039 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.6208, allocations: 207.1 kB / 1.416 GB, free: 2.836 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.6209, allocations: 47.97 kB / 1.416 GB, free: 2.789 MB / 1.107 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.0006768/0.6216, allocations: 361.6 kB / 1.416 GB, free: 2.426 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/0.6219, allocations: 151 kB / 1.416 GB, free: 2.277 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/0.6245, allocations: 1.152 MB / 1.417 GB, free: 1.109 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.6246, allocations: 11.98 kB / 1.417 GB, free: 1.098 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6246, allocations: 8 kB / 1.417 GB, free: 1.09 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.6246, allocations: 3.984 kB / 1.417 GB, free: 1.086 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005939/0.6305, allocations: 2.503 MB / 1.42 GB, free: 14.51 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.6305, allocations: 0 / 1.42 GB, free: 14.51 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.6309, allocations: 87.81 kB / 1.42 GB, free: 14.42 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008148/0.6317, allocations: 216.8 kB / 1.42 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/0.6318, allocations: 15.98 kB / 1.42 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.6331, allocations: 0.7669 MB / 1.421 GB, free: 13.4 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.6331, allocations: 8.094 kB / 1.421 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003706/0.6368, allocations: 1.219 MB / 1.422 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000872/0.6377, allocations: 286.6 kB / 1.422 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/0.6381, allocations: 15.95 kB / 1.422 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.6392, allocations: 75.84 kB / 1.422 GB, free: 11.76 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.6393, allocations: 40.42 kB / 1.422 GB, free: 11.72 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/0.6394, allocations: 27.98 kB / 1.422 GB, free: 11.7 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002261/0.6417, allocations: 1.086 MB / 1.423 GB, free: 10.61 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.6417, allocations: 0 / 1.423 GB, free: 10.61 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001649/0.6433, allocations: 455.1 kB / 1.424 GB, free: 10.17 MB / 1.123 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.004856/0.6482, allocations: 2.125 MB / 1.426 GB, free: 7.996 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002405/0.6506, allocations: 0.821 MB / 1.427 GB, free: 7.176 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.6506, allocations: 8 kB / 1.427 GB, free: 7.168 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.6519, allocations: 427.2 kB / 1.427 GB, free: 6.754 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003805/0.6557, allocations: 0.7456 MB / 1.428 GB, free: 6.023 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/0.6779, allocations: 10.5 MB / 1.438 GB, free: 11.13 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.6791, allocations: 1.172 MB / 1.439 GB, free: 9.93 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001346/0.6804, allocations: 268.1 kB / 1.44 GB, free: 9.664 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009349/0.6814, allocations: 0.5461 MB / 1.44 GB, free: 9.117 MB / 1.139 GB Notification: Performance of SimCode: time 1.142e-06/0.6814, allocations: 0 / 1.44 GB, free: 9.117 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/0.7816, allocations: 44.5 MB / 1.484 GB, free: 13.16 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/16.99, allocations: 11.48 kB / 1.484 GB, free: 13.15 MB / 1.186 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 23.885956128127873]