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.001345/0.001345, allocations: 79.34 kB / 19.76 MB, free: 1.875 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.001446/0.001446, allocations: 160.6 kB / 23.01 MB, free: 4.602 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.866/2.866, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 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: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [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.003359/0.003359, allocations: 75.83 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.888/0.8914, allocations: 181.8 MB / 1.187 GB, free: 16.13 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.1068/0.9982, allocations: 65.19 MB / 1.25 GB, free: 4.258 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03894/1.037, allocations: 17.56 MB / 1.267 GB, free: 7.715 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003733/1.041, allocations: 95.06 kB / 1.267 GB, free: 7.664 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003494/1.044, allocations: 0.8275 MB / 1.268 GB, free: 6.957 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009421/1.054, allocations: 3.019 MB / 1.271 GB, free: 4.602 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005323/1.059, allocations: 1.69 MB / 1.273 GB, free: 3.27 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008332/1.067, allocations: 4.055 MB / 1.277 GB, free: 0.793 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/1.07, allocations: 1.135 MB / 1.278 GB, free: 15.93 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005307/1.075, allocations: 1.997 MB / 1.28 GB, free: 14.65 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/1.078, allocations: 1.144 MB / 1.281 GB, free: 13.96 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004833/1.078, allocations: 174.7 kB / 1.281 GB, free: 13.96 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/1.082, allocations: 1.15 MB / 1.282 GB, free: 13.42 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000644/1.082, allocations: 395 kB / 1.283 GB, free: 13.09 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001769/1.084, allocations: 0.7186 MB / 1.283 GB, free: 12.65 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005982/1.09, allocations: 3.119 MB / 1.286 GB, free: 10.5 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.09, allocations: 0 / 1.286 GB, free: 10.5 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.384e-06/1.09, allocations: 1.062 kB / 1.286 GB, free: 10.5 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.781e-05/1.09, allocations: 0 / 1.286 GB, free: 10.5 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.005281/1.095, allocations: 2.013 MB / 1.288 GB, free: 8.984 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.095, allocations: 10.03 kB / 1.288 GB, free: 8.984 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/1.098, allocations: 459.6 kB / 1.289 GB, free: 8.766 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/1.102, allocations: 1.52 MB / 1.29 GB, free: 7.57 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/1.102, allocations: 78.19 kB / 1.29 GB, free: 7.535 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/1.102, allocations: 106.3 kB / 1.291 GB, free: 7.5 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/1.105, allocations: 1.415 MB / 1.292 GB, free: 6.469 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/1.105, allocations: 1.594 kB / 1.292 GB, free: 6.469 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/1.105, allocations: 43.03 kB / 1.292 GB, free: 6.438 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/1.105, allocations: 30.56 kB / 1.292 GB, free: 6.434 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/1.109, allocations: 1.105 MB / 1.293 GB, free: 5.871 MB / 1.139 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.009935/1.118, allocations: 5.396 MB / 1.298 GB, free: 1.387 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/1.122, allocations: 0.7666 MB / 1.299 GB, free: 0.9844 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/1.123, allocations: 268.2 kB / 1.299 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005585/1.123, allocations: 158.8 kB / 1.299 GB, free: 0.7812 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.123, allocations: 45.97 kB / 1.3 GB, free: 0.7305 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 2.455e-06/1.123, allocations: 0 / 1.3 GB, free: 0.7305 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005105/1.128, allocations: 1.233 MB / 1.301 GB, free: 96 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.128, allocations: 62.47 kB / 1.301 GB, free: 28 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002373/1.131, allocations: 1.227 MB / 1.302 GB, free: 15.34 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.639e-05/1.131, allocations: 37.7 kB / 1.302 GB, free: 15.3 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007753/1.132, allocations: 0.7074 MB / 1.303 GB, free: 14.67 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/1.132, allocations: 177.4 kB / 1.303 GB, free: 14.52 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003533/1.132, allocations: 181.5 kB / 1.303 GB, free: 14.37 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.132, allocations: 337.9 kB / 1.303 GB, free: 14.04 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/1.133, allocations: 361.8 kB / 1.304 GB, free: 13.68 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/1.135, allocations: 0.9923 MB / 1.305 GB, free: 12.48 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/1.137, allocations: 0.8899 MB / 1.306 GB, free: 11.49 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/1.137, allocations: 0 / 1.306 GB, free: 11.49 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003472/1.14, allocations: 1.162 MB / 1.307 GB, free: 10.32 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.14, allocations: 8 kB / 1.307 GB, free: 10.31 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.141, allocations: 8 kB / 1.307 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009555/1.141, allocations: 228.5 kB / 1.307 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008185/1.142, allocations: 191.7 kB / 1.307 GB, free: 9.887 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/1.143, allocations: 0.7201 MB / 1.308 GB, free: 9.141 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/1.145, allocations: 175.4 kB / 1.308 GB, free: 8.969 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.145, allocations: 43.98 kB / 1.308 GB, free: 8.926 MB / 1.154 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.0006791/1.146, allocations: 353.6 kB / 1.308 GB, free: 8.57 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/1.146, allocations: 127.2 kB / 1.308 GB, free: 8.445 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/1.149, allocations: 1.141 MB / 1.31 GB, free: 7.289 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/1.149, allocations: 11.98 kB / 1.31 GB, free: 7.277 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.149, allocations: 0 / 1.31 GB, free: 7.277 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.149, allocations: 3.984 kB / 1.31 GB, free: 7.273 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00586/1.155, allocations: 2.196 MB / 1.312 GB, free: 5.023 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/1.155, allocations: 0 / 1.312 GB, free: 5.023 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/1.155, allocations: 87.88 kB / 1.312 GB, free: 4.938 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008158/1.156, allocations: 204.8 kB / 1.312 GB, free: 4.734 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/1.156, allocations: 19.98 kB / 1.312 GB, free: 4.715 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/1.157, allocations: 0.767 MB / 1.313 GB, free: 3.922 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/1.157, allocations: 15.86 kB / 1.313 GB, free: 3.906 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/1.161, allocations: 1.182 MB / 1.314 GB, free: 2.684 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007861/1.162, allocations: 243.1 kB / 1.314 GB, free: 2.445 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004459/1.163, allocations: 15.94 kB / 1.314 GB, free: 2.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.164, allocations: 71.86 kB / 1.314 GB, free: 2.359 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.164, allocations: 44.42 kB / 1.314 GB, free: 2.316 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.598e-05/1.164, allocations: 23.98 kB / 1.314 GB, free: 2.293 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001869/1.166, allocations: 0.8512 MB / 1.315 GB, free: 1.438 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/1.166, allocations: 0 / 1.315 GB, free: 1.438 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001796/1.168, allocations: 486.7 kB / 1.316 GB, free: 0.9609 MB / 1.154 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.001019/1.169, allocations: 473.5 kB / 1.316 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002671/1.171, allocations: 0.8286 MB / 1.317 GB, free: 15.66 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/1.171, allocations: 4 kB / 1.317 GB, free: 15.66 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/1.173, allocations: 423.4 kB / 1.317 GB, free: 15.25 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/1.175, allocations: 469 kB / 1.318 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/1.181, allocations: 2.262 MB / 1.32 GB, free: 12.48 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00086/1.181, allocations: 0.5864 MB / 1.321 GB, free: 11.86 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001047/1.182, allocations: 221.4 kB / 1.321 GB, free: 11.64 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/1.183, allocations: 100.5 kB / 1.321 GB, free: 11.55 MB / 1.17 GB Notification: Performance of SimCode: time 9.52e-07/1.183, allocations: 0 / 1.321 GB, free: 11.55 MB / 1.17 GB Notification: Performance of Templates: time 0.04798/1.231, allocations: 25.05 MB / 1.345 GB, free: 2.945 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 800] 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: 9.751481715939008]