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.001071/0.001071, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001206/0.001206, allocations: 171.3 kB / 24.87 MB, free: 8.734 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 0.9874/0.9874, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 1.869/1.869, allocations: 377.9 MB / 0.6247 GB, free: 8.441 MB / 0.5886 GB " [Timeout remaining time 178] 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.583e-06/1.583e-06, allocations: 0 / 0.8128 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.663e-05, allocations: 4.219 kB / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0155/0.01552, allocations: 18.42 MB / 0.8308 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008694/0.02421, allocations: 7.009 MB / 0.8376 GB, free: 8.035 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.02525, allocations: 99.12 kB / 0.8377 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0007452/0.026, allocations: 440.5 kB / 0.8381 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.02838, allocations: 1.736 MB / 0.8398 GB, free: 5.758 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.03051, allocations: 1.554 MB / 0.8413 GB, free: 4.203 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002903/0.03341, allocations: 3.986 MB / 0.8452 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.03451, allocations: 1.177 MB / 0.8464 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.03649, allocations: 1.988 MB / 0.8483 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009588/0.03745, allocations: 0.9814 MB / 0.8493 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.03761, allocations: 168 kB / 0.8494 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000854/0.03846, allocations: 0.659 MB / 0.8501 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.03872, allocations: 406.4 kB / 0.8505 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.03917, allocations: 0.5923 MB / 0.851 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.0407, allocations: 1.643 MB / 0.8526 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.04071, allocations: 0 / 0.8526 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.062e-06/0.04071, allocations: 0 / 0.8526 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.04072, allocations: 0 / 0.8526 GB, free: 8.551 MB / 0.8073 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.001935/0.04266, allocations: 2.042 MB / 0.8546 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.04269, allocations: 8.031 kB / 0.8546 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.0437, allocations: 479.4 kB / 0.8551 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.04517, allocations: 1.537 MB / 0.8566 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/0.04522, allocations: 82.03 kB / 0.8567 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/0.04553, allocations: 104 kB / 0.8568 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.04656, allocations: 1.025 MB / 0.8578 GB, free: 3.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.04658, allocations: 4 kB / 0.8578 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.04665, allocations: 48 kB / 0.8578 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.04667, allocations: 24 kB / 0.8579 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.04716, allocations: 385.3 kB / 0.8582 GB, free: 2.57 MB / 0.8073 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.004252/0.05141, allocations: 6.071 MB / 0.8642 GB, free: 12.33 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008335/0.05225, allocations: 412.7 kB / 0.8645 GB, free: 11.92 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.05237, allocations: 105.1 kB / 0.8646 GB, free: 11.81 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.05249, allocations: 64.45 kB / 0.8647 GB, free: 11.75 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.05252, allocations: 37.89 kB / 0.8647 GB, free: 11.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=48): time 2.004e-06/0.05252, allocations: 3.938 kB / 0.8647 GB, free: 11.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001411/0.05393, allocations: 0.6792 MB / 0.8654 GB, free: 11.01 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.05396, allocations: 55.91 kB / 0.8655 GB, free: 10.95 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/0.05478, allocations: 1.026 MB / 0.8665 GB, free: 9.91 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.05481, allocations: 41.7 kB / 0.8665 GB, free: 9.863 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.05523, allocations: 0.7725 MB / 0.8673 GB, free: 9.082 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.692e-05/0.05532, allocations: 182.5 kB / 0.8674 GB, free: 8.902 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.05551, allocations: 180.1 kB / 0.8676 GB, free: 8.719 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.05563, allocations: 0.512 MB / 0.8681 GB, free: 8.199 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.05581, allocations: 93.92 kB / 0.8682 GB, free: 8.109 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.05633, allocations: 0.8427 MB / 0.869 GB, free: 7.008 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.05679, allocations: 0.5607 MB / 0.8696 GB, free: 6.293 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.0568, allocations: 0 / 0.8696 GB, free: 6.293 MB / 0.823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008073/0.0576, allocations: 0.6449 MB / 0.8702 GB, free: 5.641 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.05762, allocations: 11.98 kB / 0.8702 GB, free: 5.629 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.05763, allocations: 12.06 kB / 0.8702 GB, free: 5.617 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/0.05804, allocations: 175.5 kB / 0.8704 GB, free: 5.441 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.0584, allocations: 171.7 kB / 0.8706 GB, free: 5.273 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003903/0.05879, allocations: 0.8702 MB / 0.8714 GB, free: 4.371 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.05926, allocations: 131.4 kB / 0.8715 GB, free: 4.242 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.05932, allocations: 47.91 kB / 0.8716 GB, free: 4.195 MB / 0.823 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.0002228/0.05954, allocations: 208.2 kB / 0.8718 GB, free: 3.98 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.05968, allocations: 135.3 kB / 0.8719 GB, free: 3.848 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008592/0.06054, allocations: 0.7295 MB / 0.8726 GB, free: 3.094 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.06055, allocations: 4 kB / 0.8726 GB, free: 3.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.06055, allocations: 3.938 kB / 0.8726 GB, free: 3.086 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.06056, allocations: 3.984 kB / 0.8726 GB, free: 3.082 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.06238, allocations: 1.501 MB / 0.8741 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.06238, allocations: 4 kB / 0.8741 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.06255, allocations: 75.89 kB / 0.8742 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/0.06289, allocations: 171.7 kB / 0.8743 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.06292, allocations: 19.92 kB / 0.8743 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000483/0.0634, allocations: 0.8935 MB / 0.8752 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.0634, allocations: 4 kB / 0.8752 GB, free: 328 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.06458, allocations: 0.7967 MB / 0.876 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.06483, allocations: 234.9 kB / 0.8762 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.83e-05/0.06492, allocations: 23.98 kB / 0.8762 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.06523, allocations: 35.97 kB / 0.8763 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.06528, allocations: 44.36 kB / 0.8763 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.06532, allocations: 23.98 kB / 0.8763 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004448/0.06576, allocations: 0.5971 MB / 0.8769 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.06576, allocations: 0 / 0.8769 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000663/0.06643, allocations: 395 kB / 0.8773 GB, free: 14.13 MB / 0.8386 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.0002901/0.06672, allocations: 218.8 kB / 0.8775 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005433/0.06726, allocations: 391 kB / 0.8779 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.06726, allocations: 4 kB / 0.8779 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.06761, allocations: 226.1 kB / 0.8781 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.06869, allocations: 484 kB / 0.8786 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.07097, allocations: 2.046 MB / 0.8806 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.07112, allocations: 249.1 kB / 0.8808 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004266/0.07155, allocations: 201.3 kB / 0.881 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006976/0.07225, allocations: 493.7 kB / 0.8815 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.07225, allocations: 0 / 0.8815 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.0265/0.09875, allocations: 23.89 MB / 0.9048 GB, free: 2.406 MB / 0.8542 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.437907959334552]