Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001997/0.001997, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002022/0.002022, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.636/1.636, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.126/3.126, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: 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_12_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_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.583e-05, allocations: 3.312 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.1022/0.1022, allocations: 73.42 MB / 0.8825 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.03625/0.1384, allocations: 19.56 MB / 0.9016 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/0.1416, allocations: 103.1 kB / 0.9017 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.1449, allocations: 0.8304 MB / 0.9025 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.1567, allocations: 3.101 MB / 0.9055 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005985/0.1627, allocations: 1.766 MB / 0.9073 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.008508/0.1712, allocations: 4.076 MB / 0.9112 GB, free: 11 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.1744, allocations: 1.189 MB / 0.9124 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007228/0.1816, allocations: 2.559 MB / 0.9149 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/0.1841, allocations: 1.032 MB / 0.9159 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003637/0.1845, allocations: 172 kB / 0.9161 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.1878, allocations: 1.169 MB / 0.9172 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005305/0.1883, allocations: 414.3 kB / 0.9176 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.1895, allocations: 0.608 MB / 0.9182 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.006377/0.1959, allocations: 3.163 MB / 0.9213 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1959, allocations: 0 / 0.9213 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1959, allocations: 4 kB / 0.9213 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.626e-05/0.196, allocations: 0 / 0.9213 GB, free: 0.6484 MB / 0.8698 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.005326/0.2013, allocations: 2.307 MB / 0.9235 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.45e-05/0.2014, allocations: 12.03 kB / 0.9236 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.2037, allocations: 471.5 kB / 0.924 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/0.2071, allocations: 1.635 MB / 0.9256 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.785e-05/0.2072, allocations: 82.03 kB / 0.9257 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.2074, allocations: 104 kB / 0.9258 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/0.2108, allocations: 1.514 MB / 0.9273 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.2109, allocations: 0 / 0.9273 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.211, allocations: 44 kB / 0.9273 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.211, allocations: 27.94 kB / 0.9273 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.2136, allocations: 0.9836 MB / 0.9283 GB, free: 9.219 MB / 0.8855 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.01272/0.2263, allocations: 7.978 MB / 0.9361 GB, free: 1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/0.2292, allocations: 0.6938 MB / 0.9368 GB, free: 300 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/0.2297, allocations: 233.1 kB / 0.937 GB, free: 64 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006336/0.2304, allocations: 160.4 kB / 0.9371 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.2304, allocations: 41.89 kB / 0.9372 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=48): time 3.045e-06/0.2304, allocations: 0 / 0.9372 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=48): time 0.00435/0.2348, allocations: 1.07 MB / 0.9382 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.2348, allocations: 63.91 kB / 0.9383 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002875/0.2377, allocations: 1.667 MB / 0.9399 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.516e-05/0.2378, allocations: 37.7 kB / 0.9399 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.2391, allocations: 0.8781 MB / 0.9408 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.2394, allocations: 190.5 kB / 0.941 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004019/0.2398, allocations: 216.2 kB / 0.9412 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003574/0.2402, allocations: 0.5355 MB / 0.9417 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000843/0.241, allocations: 305.8 kB / 0.942 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.2426, allocations: 1.073 MB / 0.943 GB, free: 9.52 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.2445, allocations: 0.9356 MB / 0.944 GB, free: 8.43 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.2445, allocations: 0 / 0.944 GB, free: 8.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003001/0.2475, allocations: 1.098 MB / 0.945 GB, free: 7.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.2476, allocations: 10.81 kB / 0.945 GB, free: 7.312 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.2476, allocations: 8 kB / 0.945 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009271/0.2485, allocations: 207.7 kB / 0.9452 GB, free: 7.098 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.2493, allocations: 179.7 kB / 0.9454 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.2504, allocations: 0.9834 MB / 0.9464 GB, free: 5.906 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.2517, allocations: 131.4 kB / 0.9465 GB, free: 5.777 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.2518, allocations: 39.98 kB / 0.9465 GB, free: 5.738 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.00112/0.2529, allocations: 396.3 kB / 0.9469 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.2532, allocations: 147.2 kB / 0.9471 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.2556, allocations: 1.004 MB / 0.948 GB, free: 4.172 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.2556, allocations: 11.94 kB / 0.9481 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2556, allocations: 4 kB / 0.9481 GB, free: 4.156 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2556, allocations: 3.984 kB / 0.9481 GB, free: 4.152 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005749/0.2614, allocations: 2.478 MB / 0.9505 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.2614, allocations: 0 / 0.9505 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.2618, allocations: 79.84 kB / 0.9506 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008118/0.2626, allocations: 211.6 kB / 0.9508 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.2626, allocations: 12 kB / 0.9508 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.264, allocations: 1.015 MB / 0.9518 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.264, allocations: 0 / 0.9518 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.2672, allocations: 1.078 MB / 0.9528 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/0.2678, allocations: 242.9 kB / 0.953 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.268, allocations: 16 kB / 0.9531 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006428/0.2686, allocations: 39.97 kB / 0.9531 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.2688, allocations: 48.3 kB / 0.9531 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.559e-05/0.2688, allocations: 35.98 kB / 0.9532 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002206/0.271, allocations: 0.9841 MB / 0.9541 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.271, allocations: 0 / 0.9541 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001641/0.2727, allocations: 482.7 kB / 0.9546 GB, free: 13.3 MB / 0.9167 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.0009382/0.2736, allocations: 476.5 kB / 0.9551 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.2757, allocations: 0.7689 MB / 0.9558 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2757, allocations: 0 / 0.9558 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.2768, allocations: 369.5 kB / 0.9562 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.279, allocations: 485.4 kB / 0.9566 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.2838, allocations: 2.257 MB / 0.9588 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.2845, allocations: 0.5747 MB / 0.9594 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008512/0.2853, allocations: 224.5 kB / 0.9596 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.2856, allocations: 108.4 kB / 0.9597 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of SimCode: time 1.753e-06/0.2856, allocations: 0 / 0.9597 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of Templates: time 0.05054/0.3362, allocations: 25.08 MB / 0.9842 GB, free: 15.36 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.588584955083206]