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.001561/0.001561, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001671/0.001671, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.172/1.172, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.122/2.122, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.983e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0161/0.01613, allocations: 18.57 MB / 0.8975 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01262/0.02876, allocations: 8.014 MB / 0.9053 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/0.0317, allocations: 103.2 kB / 0.9054 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.03295, allocations: 448.3 kB / 0.9059 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.03735, allocations: 1.76 MB / 0.9076 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.04108, allocations: 1.929 MB / 0.9095 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.005378/0.04646, allocations: 4.072 MB / 0.9134 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.04839, allocations: 1.179 MB / 0.9146 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.05193, allocations: 2.053 MB / 0.9166 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.05354, allocations: 0.9903 MB / 0.9176 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.00051/0.05405, allocations: 176 kB / 0.9177 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.05532, allocations: 0.659 MB / 0.9184 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.05566, allocations: 414.3 kB / 0.9188 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0008411/0.0565, allocations: 0.6235 MB / 0.9194 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.05883, allocations: 1.678 MB / 0.921 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.05883, allocations: 0 / 0.921 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.343e-06/0.05883, allocations: 0 / 0.921 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.376e-05/0.05886, allocations: 7.938 kB / 0.921 GB, free: 11.26 MB / 0.8855 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.002378/0.06124, allocations: 2.108 MB / 0.9231 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.06128, allocations: 8.031 kB / 0.9231 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.06236, allocations: 491.2 kB / 0.9236 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.06398, allocations: 1.616 MB / 0.9251 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.06404, allocations: 82.03 kB / 0.9252 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.06414, allocations: 112 kB / 0.9253 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.06543, allocations: 1.037 MB / 0.9263 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.06545, allocations: 3.938 kB / 0.9263 GB, free: 5.547 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.06552, allocations: 44 kB / 0.9264 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.06554, allocations: 32 kB / 0.9264 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000532/0.06607, allocations: 385.4 kB / 0.9268 GB, free: 5.094 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.005227/0.0713, allocations: 6.142 MB / 0.9328 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009159/0.07221, allocations: 398.5 kB / 0.9332 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.07235, allocations: 109.1 kB / 0.9333 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.07251, allocations: 64.45 kB / 0.9333 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.07255, allocations: 41.89 kB / 0.9334 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=48): time 3.276e-06/0.07255, allocations: 0 / 0.9334 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of matching and sorting (n=48): time 0.00163/0.07418, allocations: 0.683 MB / 0.934 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.07421, allocations: 59.91 kB / 0.9341 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000991/0.07521, allocations: 1.09 MB / 0.9352 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.07525, allocations: 41.7 kB / 0.9352 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.07574, allocations: 0.8003 MB / 0.936 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.07585, allocations: 174.5 kB / 0.9361 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.07608, allocations: 220.1 kB / 0.9364 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.07623, allocations: 0.5081 MB / 0.9369 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.07643, allocations: 109.8 kB / 0.937 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/0.07705, allocations: 1.007 MB / 0.9379 GB, free: 9.039 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009159/0.07796, allocations: 0.7541 MB / 0.9387 GB, free: 8.059 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.07797, allocations: 4 kB / 0.9387 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001023/0.07899, allocations: 0.7661 MB / 0.9394 GB, free: 7.277 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.07902, allocations: 8 kB / 0.9394 GB, free: 7.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.07904, allocations: 15.94 kB / 0.9395 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/0.07953, allocations: 183.6 kB / 0.9396 GB, free: 7.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.07995, allocations: 211.6 kB / 0.9398 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005301/0.08048, allocations: 0.8701 MB / 0.9407 GB, free: 5.961 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/0.08116, allocations: 163.1 kB / 0.9408 GB, free: 5.801 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.08123, allocations: 47.98 kB / 0.9409 GB, free: 5.754 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (101): * Single equations (assignments): 100 * 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.0003301/0.08156, allocations: 216.2 kB / 0.9411 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.08173, allocations: 143.2 kB / 0.9412 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.08275, allocations: 0.7305 MB / 0.9419 GB, free: 4.641 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.08276, allocations: 7.938 kB / 0.9419 GB, free: 4.633 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.08277, allocations: 3.984 kB / 0.9419 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.08278, allocations: 4 kB / 0.942 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.08498, allocations: 1.509 MB / 0.9434 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.08499, allocations: 4 kB / 0.9434 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.08516, allocations: 71.91 kB / 0.9435 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000419/0.08558, allocations: 171.7 kB / 0.9437 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.08561, allocations: 27.86 kB / 0.9437 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005596/0.08617, allocations: 0.8975 MB / 0.9446 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.08617, allocations: 4 kB / 0.9446 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.08748, allocations: 0.7935 MB / 0.9453 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.08782, allocations: 242.8 kB / 0.9456 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.647e-05/0.08792, allocations: 12 kB / 0.9456 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.08824, allocations: 39.97 kB / 0.9456 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.08832, allocations: 48.36 kB / 0.9457 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.08836, allocations: 23.98 kB / 0.9457 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005172/0.08888, allocations: 0.6229 MB / 0.9463 GB, free: 4 kB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/0.08888, allocations: 0 / 0.9463 GB, free: 4 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001098/0.08997, allocations: 411 kB / 0.9467 GB, free: 15.6 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.0003917/0.09037, allocations: 238.6 kB / 0.9469 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000745/0.09111, allocations: 444.4 kB / 0.9473 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.09111, allocations: 0 / 0.9473 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.09149, allocations: 226.1 kB / 0.9476 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.09271, allocations: 489.3 kB / 0.948 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.09574, allocations: 2.114 MB / 0.9501 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.09592, allocations: 249.4 kB / 0.9503 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005834/0.0965, allocations: 201.9 kB / 0.9505 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007983/0.0973, allocations: 0.49 MB / 0.951 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of SimCode: time 2.034e-06/0.0973, allocations: 0 / 0.951 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of Templates: time 0.03337/0.1307, allocations: 24.49 MB / 0.9749 GB, free: 3.117 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.411541711073369]