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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 106.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.516/2.516, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 71.88 kB / 1.107 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7835/0.7853, allocations: 168.7 MB / 1.271 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06959/0.8549, allocations: 71.71 MB / 1.341 GB, free: 4.754 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02541/0.8803, allocations: 19.08 MB / 1.36 GB, free: 7.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.8836, allocations: 67.81 kB / 1.36 GB, free: 7.066 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.8859, allocations: 0.8488 MB / 1.361 GB, free: 6.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008062/0.894, allocations: 3.01 MB / 1.364 GB, free: 4.738 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004054/0.898, allocations: 1.674 MB / 1.366 GB, free: 3.758 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005859/0.9039, allocations: 4.058 MB / 1.369 GB, free: 1.691 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.9057, allocations: 1.162 MB / 1.371 GB, free: 1.027 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004138/0.9099, allocations: 1.81 MB / 1.372 GB, free: 40 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001933/0.9118, allocations: 1.235 MB / 1.374 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.912, allocations: 175.4 kB / 1.374 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.915, allocations: 1.448 MB / 1.375 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000362/0.9153, allocations: 398.7 kB / 1.376 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009088/0.9162, allocations: 0.9205 MB / 1.376 GB, free: 13.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003798/0.92, allocations: 3.117 MB / 1.379 GB, free: 11.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.92, allocations: 4.969 kB / 1.379 GB, free: 11.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.382e-06/0.92, allocations: 0 / 1.379 GB, free: 11.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.9201, allocations: 4 kB / 1.379 GB, free: 11.34 MB / 1.076 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.0033/0.9234, allocations: 2.072 MB / 1.382 GB, free: 9.738 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.9234, allocations: 9.562 kB / 1.382 GB, free: 9.738 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002477/0.9236, allocations: 158.1 kB / 1.382 GB, free: 9.609 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.9258, allocations: 455.8 kB / 1.382 GB, free: 9.395 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.9283, allocations: 1.559 MB / 1.384 GB, free: 8.129 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.9284, allocations: 81.94 kB / 1.384 GB, free: 8.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.9285, allocations: 103.3 kB / 1.384 GB, free: 8.059 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.9308, allocations: 1.319 MB / 1.385 GB, free: 7.141 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.9309, allocations: 1.406 kB / 1.385 GB, free: 7.141 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.931, allocations: 42.94 kB / 1.385 GB, free: 7.109 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.931, allocations: 34.17 kB / 1.385 GB, free: 7.102 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.9335, allocations: 1.098 MB / 1.386 GB, free: 6.543 MB / 1.076 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.00851/0.9421, allocations: 7.521 MB / 1.394 GB, free: 15.63 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.9451, allocations: 0.776 MB / 1.394 GB, free: 15.22 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005648/0.9457, allocations: 260.3 kB / 1.395 GB, free: 15.09 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.947, allocations: 1.727 MB / 1.396 GB, free: 13.05 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.9471, allocations: 49.45 kB / 1.396 GB, free: 13 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 1.854e-06/0.9471, allocations: 0 / 1.396 GB, free: 13 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.004807/0.9519, allocations: 1.332 MB / 1.398 GB, free: 12.26 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.9519, allocations: 60.09 kB / 1.398 GB, free: 12.19 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.9543, allocations: 1.541 MB / 1.399 GB, free: 11.35 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.46e-05/0.9544, allocations: 38.05 kB / 1.399 GB, free: 11.31 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006051/0.955, allocations: 0.686 MB / 1.4 GB, free: 10.7 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.9551, allocations: 176.9 kB / 1.4 GB, free: 10.55 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.9554, allocations: 176.5 kB / 1.4 GB, free: 10.44 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9556, allocations: 332.6 kB / 1.401 GB, free: 10.12 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009688/0.9565, allocations: 363.1 kB / 1.401 GB, free: 9.938 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.9578, allocations: 0.6558 MB / 1.402 GB, free: 9.375 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.9596, allocations: 0.8913 MB / 1.402 GB, free: 8.715 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.9596, allocations: 6.188 kB / 1.402 GB, free: 8.711 MB / 1.092 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00297/0.9626, allocations: 1.195 MB / 1.404 GB, free: 8.09 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.9626, allocations: 9.469 kB / 1.404 GB, free: 8.09 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.9626, allocations: 6.594 kB / 1.404 GB, free: 8.09 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008708/0.9635, allocations: 218.8 kB / 1.404 GB, free: 7.98 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.9642, allocations: 198.9 kB / 1.404 GB, free: 7.922 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008984/0.9651, allocations: 0.7225 MB / 1.405 GB, free: 7.285 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.9668, allocations: 223.8 kB / 1.405 GB, free: 7.156 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.858e-05/0.9669, allocations: 43.36 kB / 1.405 GB, free: 7.145 MB / 1.092 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.0006164/0.9675, allocations: 350.5 kB / 1.405 GB, free: 6.883 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.9678, allocations: 159.3 kB / 1.405 GB, free: 6.797 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.9701, allocations: 1.137 MB / 1.407 GB, free: 6.133 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.9701, allocations: 15.33 kB / 1.407 GB, free: 6.125 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.9702, allocations: 0 / 1.407 GB, free: 6.125 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.9702, allocations: 3.984 kB / 1.407 GB, free: 6.121 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/0.9753, allocations: 2.502 MB / 1.409 GB, free: 4.363 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.9753, allocations: 5.328 kB / 1.409 GB, free: 4.359 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.9757, allocations: 85.69 kB / 1.409 GB, free: 4.336 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007217/0.9764, allocations: 211.3 kB / 1.409 GB, free: 4.227 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.9765, allocations: 17.89 kB / 1.409 GB, free: 4.215 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.9778, allocations: 0.773 MB / 1.41 GB, free: 3.555 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9778, allocations: 6.25 kB / 1.41 GB, free: 3.551 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/0.9811, allocations: 1.208 MB / 1.411 GB, free: 2.816 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/0.9817, allocations: 362.2 kB / 1.412 GB, free: 2.496 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.9818, allocations: 12.38 kB / 1.412 GB, free: 2.488 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008587/0.9827, allocations: 74.06 kB / 1.412 GB, free: 2.453 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.9828, allocations: 35.52 kB / 1.412 GB, free: 2.438 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.9828, allocations: 29.28 kB / 1.412 GB, free: 2.426 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001687/0.9845, allocations: 1.084 MB / 1.413 GB, free: 1.836 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9845, allocations: 0 / 1.413 GB, free: 1.836 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001281/0.9858, allocations: 451.4 kB / 1.413 GB, free: 1.727 MB / 1.092 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.0046/0.9904, allocations: 2.144 MB / 1.415 GB, free: 15.9 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.002325/0.9927, allocations: 0.8135 MB / 1.416 GB, free: 15.09 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.9927, allocations: 4 kB / 1.416 GB, free: 15.09 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.9941, allocations: 415.6 kB / 1.417 GB, free: 14.68 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/0.9979, allocations: 0.7428 MB / 1.417 GB, free: 13.95 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/1.015, allocations: 10.5 MB / 1.427 GB, free: 3.074 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000786/1.016, allocations: 1.168 MB / 1.429 GB, free: 1.875 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.000983/1.017, allocations: 276 kB / 1.429 GB, free: 1.602 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007259/1.018, allocations: 0.5422 MB / 1.429 GB, free: 1.059 MB / 1.108 GB Notification: Performance of SimCode: time 7.82e-07/1.018, allocations: 4 kB / 1.429 GB, free: 1.055 MB / 1.108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07992/1.098, allocations: 43.97 MB / 1.472 GB, free: 5.613 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.89, allocations: 5.688 kB / 1.472 GB, free: 5.609 MB / 1.154 GB " [Timeout remaining time 286] (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 --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: 19.285961012999906]