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.0009003/0.0009003, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.0009491/0.0009491, allocations: 177.9 kB / 23.22 MB, free: 1.336 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.8965/0.8965, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.767/1.767, allocations: 377.8 MB / 0.6228 GB, free: 8.664 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.212e-06/1.212e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.585e-05, allocations: 9.031 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04124/0.04126, allocations: 64.65 MB / 1.045 GB, free: 1.23 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4924/0.5337, allocations: 17.54 MB / 1.062 GB, free: 57.96 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.5356, allocations: 96.09 kB / 1.063 GB, free: 57.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.5372, allocations: 0.8389 MB / 1.063 GB, free: 57.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.5424, allocations: 3.1 MB / 1.066 GB, free: 57.35 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.5453, allocations: 1.775 MB / 1.068 GB, free: 57.27 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003297/0.5486, allocations: 4.075 MB / 1.072 GB, free: 55.53 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.5497, allocations: 1.139 MB / 1.073 GB, free: 54.96 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.5524, allocations: 2.566 MB / 1.076 GB, free: 53.87 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009141/0.5534, allocations: 1.013 MB / 1.077 GB, free: 53.62 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.5535, allocations: 175.1 kB / 1.077 GB, free: 53.62 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.5552, allocations: 1.164 MB / 1.078 GB, free: 53.34 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.5554, allocations: 409.9 kB / 1.078 GB, free: 53.08 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.5558, allocations: 0.6017 MB / 1.079 GB, free: 52.82 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.5579, allocations: 3.154 MB / 1.082 GB, free: 51.83 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5579, allocations: 0 / 1.082 GB, free: 51.83 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5579, allocations: 0 / 1.082 GB, free: 51.83 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.5579, allocations: 0 / 1.082 GB, free: 51.83 MB / 0.9948 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.001878/0.5598, allocations: 2.006 MB / 1.084 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.5599, allocations: 7.562 kB / 1.084 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.5609, allocations: 453.5 kB / 1.084 GB, free: 50.43 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.5625, allocations: 1.538 MB / 1.086 GB, free: 49.56 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.5626, allocations: 81.25 kB / 1.086 GB, free: 49.52 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.5627, allocations: 101.8 kB / 1.086 GB, free: 49.49 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.564, allocations: 1.416 MB / 1.088 GB, free: 48.68 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.564, allocations: 4.125 kB / 1.088 GB, free: 48.68 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.5641, allocations: 47.38 kB / 1.088 GB, free: 48.64 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.5641, allocations: 25.78 kB / 1.088 GB, free: 48.64 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.566, allocations: 1.094 MB / 1.089 GB, free: 48.27 MB / 0.9948 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.004334/0.5703, allocations: 5.382 MB / 1.094 GB, free: 44.57 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.572, allocations: 0.7692 MB / 1.095 GB, free: 44.34 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.5724, allocations: 266.2 kB / 1.095 GB, free: 44.24 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/0.5727, allocations: 160.7 kB / 1.095 GB, free: 44.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.5728, allocations: 38.45 kB / 1.095 GB, free: 44.16 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=48): time 2.475e-06/0.5728, allocations: 0 / 1.095 GB, free: 44.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48): time 0.002647/0.5754, allocations: 1.239 MB / 1.096 GB, free: 43.77 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.5754, allocations: 56.75 kB / 1.096 GB, free: 43.71 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.5768, allocations: 1.242 MB / 1.098 GB, free: 43.19 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.5768, allocations: 34.39 kB / 1.098 GB, free: 43.15 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.5772, allocations: 0.7082 MB / 1.098 GB, free: 42.59 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.34e-05/0.5773, allocations: 178.9 kB / 1.098 GB, free: 42.46 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.5775, allocations: 177.2 kB / 1.099 GB, free: 42.37 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.5775, allocations: 333.8 kB / 1.099 GB, free: 42.05 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/0.5781, allocations: 364.8 kB / 1.099 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/0.5788, allocations: 0.989 MB / 1.1 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.5799, allocations: 0.8821 MB / 1.101 GB, free: 40.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.5799, allocations: 6.781 kB / 1.101 GB, free: 40.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001706/0.5816, allocations: 1.173 MB / 1.102 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.5817, allocations: 9.141 kB / 1.102 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.5817, allocations: 7.781 kB / 1.102 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/0.5823, allocations: 220.2 kB / 1.103 GB, free: 40.04 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.5827, allocations: 193.9 kB / 1.103 GB, free: 40.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004651/0.5832, allocations: 0.7162 MB / 1.103 GB, free: 39.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.5839, allocations: 174.9 kB / 1.104 GB, free: 39.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.5839, allocations: 44.8 kB / 1.104 GB, free: 39.38 MB / 0.9948 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.0003843/0.5843, allocations: 370.2 kB / 1.104 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.5844, allocations: 123.6 kB / 1.104 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.586, allocations: 1.131 MB / 1.105 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.586, allocations: 13.72 kB / 1.105 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.586, allocations: 4.734 kB / 1.105 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.586, allocations: 3 kB / 1.105 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.589, allocations: 2.174 MB / 1.107 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.589, allocations: 6.797 kB / 1.107 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.5892, allocations: 86.53 kB / 1.107 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.5897, allocations: 207.8 kB / 1.108 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.5897, allocations: 23.5 kB / 1.108 GB, free: 37.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006387/0.5904, allocations: 0.7704 MB / 1.108 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5904, allocations: 2.156 kB / 1.108 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.5921, allocations: 1.194 MB / 1.11 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.5924, allocations: 238.4 kB / 1.11 GB, free: 36.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.303e-05/0.5925, allocations: 18.47 kB / 1.11 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.5929, allocations: 66.5 kB / 1.11 GB, free: 36.29 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.593, allocations: 48.08 kB / 1.11 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.593, allocations: 29.77 kB / 1.11 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009157/0.5939, allocations: 0.8542 MB / 1.111 GB, free: 35.91 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.5939, allocations: 0 / 1.111 GB, free: 35.91 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001066/0.595, allocations: 483.1 kB / 1.111 GB, free: 35.78 MB / 0.9948 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.0005827/0.5956, allocations: 481.1 kB / 1.112 GB, free: 35.59 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.5969, allocations: 0.8311 MB / 1.113 GB, free: 35.34 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5969, allocations: 4.906 kB / 1.113 GB, free: 35.34 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006967/0.5976, allocations: 423.4 kB / 1.113 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.5988, allocations: 481.2 kB / 1.113 GB, free: 35.08 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.6014, allocations: 2.288 MB / 1.116 GB, free: 33.87 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.6019, allocations: 0.5739 MB / 1.116 GB, free: 33.72 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.6021, allocations: 108 kB / 1.116 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/0.6021, allocations: 0 / 1.116 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.03251/0.6346, allocations: 31.74 MB / 1.147 GB, free: 24.57 MB / 0.9948 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] 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: 10.348560394719243]