Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.001343/0.001343, allocations: 104.5 kB / 16.45 MB, free: 6.445 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.001348/0.001348, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.973/2.973, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 1.134 GB, free: 13.13 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1576/1.301, allocations: 133.4 MB / 1.434 GB, free: 0.5273 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04555/1.346, allocations: 23.28 MB / 1.457 GB, free: 15.75 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007736/1.354, allocations: 125.4 kB / 1.457 GB, free: 15.71 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00568/1.36, allocations: 1.54 MB / 1.459 GB, free: 14.76 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01529/1.375, allocations: 4.319 MB / 1.463 GB, free: 11.67 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.008513/1.384, allocations: 2.173 MB / 1.465 GB, free: 9.969 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01379/1.397, allocations: 6.52 MB / 1.471 GB, free: 6.07 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005978/1.403, allocations: 1.909 MB / 1.473 GB, free: 4.672 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/1.414, allocations: 3.054 MB / 1.476 GB, free: 2.75 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005352/1.419, allocations: 1.945 MB / 1.478 GB, free: 1.535 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001295/1.42, allocations: 247.9 kB / 1.478 GB, free: 1.535 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007511/1.428, allocations: 1.967 MB / 1.48 GB, free: 0.5 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001883/1.43, allocations: 0.6242 MB / 1.481 GB, free: 15.98 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00488/1.435, allocations: 1.466 MB / 1.482 GB, free: 14.98 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01335/1.448, allocations: 4.385 MB / 1.487 GB, free: 12.04 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.448, allocations: 0 / 1.487 GB, free: 12.04 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.124e-06/1.448, allocations: 1.062 kB / 1.487 GB, free: 12.04 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001713/1.448, allocations: 0 / 1.487 GB, free: 12.04 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.009895/1.458, allocations: 3.286 MB / 1.49 GB, free: 9.234 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/1.458, allocations: 8.031 kB / 1.49 GB, free: 9.227 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004195/1.459, allocations: 227.9 kB / 1.49 GB, free: 8.992 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005183/1.464, allocations: 0.8572 MB / 1.491 GB, free: 8.133 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006668/1.471, allocations: 2.333 MB / 1.493 GB, free: 5.727 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/1.471, allocations: 127 kB / 1.493 GB, free: 5.602 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004634/1.471, allocations: 160 kB / 1.493 GB, free: 5.445 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/1.476, allocations: 1.919 MB / 1.495 GB, free: 3.461 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/1.476, allocations: 7.938 kB / 1.495 GB, free: 3.453 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/1.476, allocations: 67.98 kB / 1.495 GB, free: 3.387 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/1.476, allocations: 36 kB / 1.495 GB, free: 3.352 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00499/1.481, allocations: 1.799 MB / 1.497 GB, free: 1.551 MB / 1.17 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.01664/1.498, allocations: 9.007 MB / 1.506 GB, free: 7.941 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/1.502, allocations: 1.148 MB / 1.507 GB, free: 6.777 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/1.503, allocations: 437.2 kB / 1.507 GB, free: 6.344 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/1.505, allocations: 1.719 MB / 1.509 GB, free: 4.238 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/1.505, allocations: 46.55 kB / 1.509 GB, free: 4.184 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 2.805e-06/1.505, allocations: 0 / 1.509 GB, free: 4.184 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.009558/1.515, allocations: 2.351 MB / 1.511 GB, free: 1.781 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/1.515, allocations: 85.11 kB / 1.512 GB, free: 1.68 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005157/1.52, allocations: 2.524 MB / 1.514 GB, free: 15.14 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003518/1.52, allocations: 45.7 kB / 1.514 GB, free: 15.09 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/1.521, allocations: 1.055 MB / 1.515 GB, free: 14.02 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/1.522, allocations: 289.5 kB / 1.515 GB, free: 13.74 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004815/1.522, allocations: 254.8 kB / 1.516 GB, free: 13.48 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.522, allocations: 341.9 kB / 1.516 GB, free: 13.14 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/1.524, allocations: 0.5764 MB / 1.517 GB, free: 12.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/1.526, allocations: 0.9504 MB / 1.517 GB, free: 11.46 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/1.53, allocations: 1.252 MB / 1.519 GB, free: 10.11 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/1.53, allocations: 4 kB / 1.519 GB, free: 10.1 MB / 1.201 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007273/1.537, allocations: 2.022 MB / 1.521 GB, free: 8.062 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/1.537, allocations: 8 kB / 1.521 GB, free: 8.055 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.537, allocations: 12.03 kB / 1.521 GB, free: 8.043 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/1.539, allocations: 0.4932 MB / 1.521 GB, free: 7.543 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/1.54, allocations: 283.6 kB / 1.521 GB, free: 7.266 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/1.543, allocations: 1.518 MB / 1.523 GB, free: 5.699 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/1.546, allocations: 370.5 kB / 1.523 GB, free: 5.336 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/1.546, allocations: 63.97 kB / 1.523 GB, free: 5.273 MB / 1.201 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001138/1.547, allocations: 461.3 kB / 1.524 GB, free: 4.812 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000778/1.548, allocations: 258.4 kB / 1.524 GB, free: 4.559 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/1.552, allocations: 1.49 MB / 1.525 GB, free: 3.055 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/1.552, allocations: 15.98 kB / 1.525 GB, free: 3.039 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.552, allocations: 0 / 1.525 GB, free: 3.039 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/1.552, allocations: 7.984 kB / 1.525 GB, free: 3.031 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/1.563, allocations: 3.612 MB / 1.529 GB, free: 15.31 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.563, allocations: 0 / 1.529 GB, free: 15.31 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/1.563, allocations: 131.8 kB / 1.529 GB, free: 15.18 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/1.565, allocations: 489.2 kB / 1.53 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.565, allocations: 31.97 kB / 1.53 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/1.568, allocations: 1.583 MB / 1.531 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.568, allocations: 4 kB / 1.531 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006783/1.575, allocations: 1.941 MB / 1.533 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/1.577, allocations: 0.4911 MB / 1.534 GB, free: 10.51 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006926/1.578, allocations: 23.94 kB / 1.534 GB, free: 10.49 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.58, allocations: 135.8 kB / 1.534 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/1.58, allocations: 60.06 kB / 1.534 GB, free: 10.3 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.58, allocations: 39.91 kB / 1.534 GB, free: 10.26 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003626/1.583, allocations: 1.789 MB / 1.536 GB, free: 8.465 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.583, allocations: 0 / 1.536 GB, free: 8.465 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003178/1.587, allocations: 0.6941 MB / 1.536 GB, free: 7.77 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008321/1.595, allocations: 3.009 MB / 1.539 GB, free: 4.695 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005082/1.6, allocations: 1.299 MB / 1.54 GB, free: 3.402 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.6, allocations: 0 / 1.54 GB, free: 3.402 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002638/1.603, allocations: 0.648 MB / 1.541 GB, free: 2.754 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008623/1.611, allocations: 1.328 MB / 1.542 GB, free: 1.445 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04689/1.658, allocations: 16.73 MB / 1.559 GB, free: 248 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/1.66, allocations: 1.49 MB / 1.56 GB, free: 14.72 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002416/1.663, allocations: 436.4 kB / 1.561 GB, free: 14.3 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/1.664, allocations: 0.8976 MB / 1.561 GB, free: 13.4 MB / 1.248 GB Notification: Performance of SimCode: time 1.393e-06/1.664, allocations: 4 kB / 1.561 GB, free: 13.39 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1418/1.806, allocations: 66.44 MB / 1.626 GB, free: 11.75 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.46/19.27, allocations: 10.16 kB / 1.626 GB, free: 11.75 MB / 1.311 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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: 25.968571620993316]