Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008493/0.0008493, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009448/0.0009448, allocations: 165 kB / 23.82 MB, free: 0.7461 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.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.837/1.837, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.811e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01532/0.01534, allocations: 18.62 MB / 0.8053 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.02635, allocations: 7.056 MB / 0.8122 GB, free: 2.805 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.02864, allocations: 99.12 kB / 0.8123 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.02985, allocations: 440.5 kB / 0.8127 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.03382, allocations: 1.756 MB / 0.8144 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.03701, allocations: 1.555 MB / 0.8159 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005378/0.04239, allocations: 4.008 MB / 0.8198 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/0.04469, allocations: 1.181 MB / 0.821 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/0.04879, allocations: 1.868 MB / 0.8228 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.05046, allocations: 1.048 MB / 0.8238 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0003226/0.05078, allocations: 176 kB / 0.824 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.05241, allocations: 0.6745 MB / 0.8247 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.0528, allocations: 406.4 kB / 0.825 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0009351/0.05374, allocations: 0.6118 MB / 0.8256 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002901/0.05664, allocations: 1.674 MB / 0.8273 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.05665, allocations: 0 / 0.8273 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.723e-06/0.05665, allocations: 0 / 0.8273 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.673e-05/0.05671, allocations: 4 kB / 0.8273 GB, free: 3.258 MB / 0.7761 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.002928/0.05964, allocations: 2.046 MB / 0.8293 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.05969, allocations: 12.03 kB / 0.8293 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.06081, allocations: 483.5 kB / 0.8297 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.0629, allocations: 1.601 MB / 0.8313 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.06295, allocations: 82.03 kB / 0.8314 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.06306, allocations: 104 kB / 0.8315 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.06457, allocations: 1.111 MB / 0.8326 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.06459, allocations: 3.984 kB / 0.8326 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/0.06466, allocations: 48 kB / 0.8326 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.06468, allocations: 28 kB / 0.8326 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009227/0.06561, allocations: 467.3 kB / 0.8331 GB, free: 13.03 MB / 0.7917 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.005947/0.07155, allocations: 6.257 MB / 0.8392 GB, free: 6.594 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.07275, allocations: 472.6 kB / 0.8397 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.07293, allocations: 113.1 kB / 0.8398 GB, free: 6.008 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.07309, allocations: 64.45 kB / 0.8398 GB, free: 5.945 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.07312, allocations: 45.88 kB / 0.8399 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=48): time 3.206e-06/0.07313, allocations: 0 / 0.8399 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.001806/0.07493, allocations: 0.7377 MB / 0.8406 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.07497, allocations: 59.89 kB / 0.8406 GB, free: 5.074 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.0761, allocations: 1.05 MB / 0.8417 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.07615, allocations: 37.7 kB / 0.8417 GB, free: 3.973 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.07661, allocations: 0.7571 MB / 0.8424 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.07674, allocations: 178.5 kB / 0.8426 GB, free: 3.031 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.07694, allocations: 172.2 kB / 0.8428 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.07709, allocations: 0.5082 MB / 0.8433 GB, free: 2.34 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.07733, allocations: 109.9 kB / 0.8434 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.07787, allocations: 0.8582 MB / 0.8442 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.07851, allocations: 0.5959 MB / 0.8448 GB, free: 372 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.07851, allocations: 4 kB / 0.8448 GB, free: 368 kB / 0.7917 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001423/0.07994, allocations: 0.7036 MB / 0.8455 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.07996, allocations: 8 kB / 0.8455 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.07997, allocations: 8 kB / 0.8455 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.08049, allocations: 175.5 kB / 0.8457 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.08087, allocations: 175.7 kB / 0.8458 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004819/0.08135, allocations: 0.8779 MB / 0.8467 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006052/0.08195, allocations: 131.5 kB / 0.8468 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/0.08202, allocations: 43.98 kB / 0.8469 GB, free: 14.2 MB / 0.8073 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.0003298/0.08235, allocations: 200.3 kB / 0.8471 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.0825, allocations: 143.2 kB / 0.8472 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009732/0.08348, allocations: 0.7647 MB / 0.8479 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.0835, allocations: 15.98 kB / 0.848 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.0835, allocations: 0 / 0.848 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.08351, allocations: 64 / 0.848 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.08585, allocations: 1.725 MB / 0.8496 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.08586, allocations: 7.922 kB / 0.8497 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.08604, allocations: 75.91 kB / 0.8497 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/0.08645, allocations: 159.6 kB / 0.8499 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.08649, allocations: 19.98 kB / 0.8499 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005702/0.08706, allocations: 0.8976 MB / 0.8508 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.08706, allocations: 4 kB / 0.8508 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.08827, allocations: 0.8436 MB / 0.8516 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.08864, allocations: 246.8 kB / 0.8518 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.093e-05/0.08873, allocations: 15.98 kB / 0.8518 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.08905, allocations: 39.97 kB / 0.8519 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.08935, allocations: 52.3 kB / 0.8519 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.08939, allocations: 23.98 kB / 0.852 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006845/0.09007, allocations: 0.6443 MB / 0.8526 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.09007, allocations: 0 / 0.8526 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009715/0.09104, allocations: 399 kB / 0.853 GB, free: 7.77 MB / 0.8073 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.0004046/0.09145, allocations: 234.8 kB / 0.8532 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0008427/0.09229, allocations: 446.3 kB / 0.8536 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.09229, allocations: 1.562 kB / 0.8536 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.09271, allocations: 249.2 kB / 0.8539 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.09393, allocations: 496.6 kB / 0.8543 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.09706, allocations: 2.051 MB / 0.8563 GB, free: 4.238 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.09725, allocations: 237.3 kB / 0.8566 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005896/0.09784, allocations: 225.3 kB / 0.8568 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.09802, allocations: 104.5 kB / 0.8569 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of SimCode: time 2.034e-06/0.09802, allocations: 0 / 0.8569 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.03036/0.1284, allocations: 21.47 MB / 0.8778 GB, free: 14.66 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.7293211300857365]