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.002028/0.002028, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002806/0.002806, allocations: 157.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.539/1.539, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.936/2.936, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002915/0.002915, allocations: 67.89 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177/1.18, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06492/1.245, allocations: 65.18 MB / 1.218 GB, free: 5.484 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03048/1.276, allocations: 17.56 MB / 1.235 GB, free: 9.48 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004441/1.28, allocations: 95.69 kB / 1.235 GB, free: 9.43 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003124/1.283, allocations: 0.8274 MB / 1.236 GB, free: 8.906 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01196/1.295, allocations: 3.019 MB / 1.239 GB, free: 7.156 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006289/1.301, allocations: 1.691 MB / 1.24 GB, free: 6.176 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.009278/1.311, allocations: 4.054 MB / 1.244 GB, free: 4.094 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/1.313, allocations: 1.137 MB / 1.245 GB, free: 3.457 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006727/1.32, allocations: 2.007 MB / 1.247 GB, free: 2.438 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/1.323, allocations: 1.136 MB / 1.248 GB, free: 1.957 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004849/1.324, allocations: 178.9 kB / 1.249 GB, free: 1.953 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004293/1.328, allocations: 1.148 MB / 1.25 GB, free: 1.609 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005431/1.329, allocations: 399.3 kB / 1.25 GB, free: 1.332 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001435/1.33, allocations: 0.7255 MB / 1.251 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007558/1.338, allocations: 3.099 MB / 1.254 GB, free: 15.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.338, allocations: 4 kB / 1.254 GB, free: 15.77 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.583e-06/1.338, allocations: 0 / 1.254 GB, free: 15.77 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.441e-05/1.338, allocations: 5.312 kB / 1.254 GB, free: 15.77 MB / 1.123 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.004984/1.343, allocations: 2.014 MB / 1.256 GB, free: 14.43 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/1.343, allocations: 8.812 kB / 1.256 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/1.346, allocations: 452.4 kB / 1.256 GB, free: 14.32 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/1.349, allocations: 1.517 MB / 1.258 GB, free: 13.39 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/1.349, allocations: 78.22 kB / 1.258 GB, free: 13.36 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/1.35, allocations: 110.4 kB / 1.258 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/1.353, allocations: 1.417 MB / 1.259 GB, free: 12.5 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/1.353, allocations: 8.969 kB / 1.259 GB, free: 12.49 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/1.353, allocations: 43.06 kB / 1.259 GB, free: 12.46 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/1.353, allocations: 26.62 kB / 1.259 GB, free: 12.46 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/1.356, allocations: 1.095 MB / 1.26 GB, free: 12.06 MB / 1.123 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.01052/1.367, allocations: 5.407 MB / 1.266 GB, free: 8.195 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/1.37, allocations: 0.7699 MB / 1.266 GB, free: 7.945 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/1.371, allocations: 269.7 kB / 1.267 GB, free: 7.844 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006302/1.372, allocations: 160.5 kB / 1.267 GB, free: 7.809 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.498e-05/1.372, allocations: 39.92 kB / 1.267 GB, free: 7.766 MB / 1.123 GB Notification: Performance of pre-optimization done (n=48): time 3.577e-06/1.372, allocations: 0 / 1.267 GB, free: 7.766 MB / 1.123 GB Notification: Performance of matching and sorting (n=48): time 0.005451/1.377, allocations: 1.236 MB / 1.268 GB, free: 7.371 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/1.377, allocations: 64.94 kB / 1.268 GB, free: 7.301 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002842/1.38, allocations: 1.222 MB / 1.269 GB, free: 6.793 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.38, allocations: 38.39 kB / 1.269 GB, free: 6.754 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008559/1.381, allocations: 0.7102 MB / 1.27 GB, free: 6.191 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/1.381, allocations: 180.1 kB / 1.27 GB, free: 6.051 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004182/1.382, allocations: 169.9 kB / 1.27 GB, free: 5.969 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002317/1.382, allocations: 335.3 kB / 1.271 GB, free: 5.652 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/1.383, allocations: 362.8 kB / 1.271 GB, free: 5.531 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/1.385, allocations: 0.9913 MB / 1.272 GB, free: 4.637 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/1.387, allocations: 0.8922 MB / 1.273 GB, free: 4.059 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/1.387, allocations: 2.406 kB / 1.273 GB, free: 4.059 MB / 1.123 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003644/1.391, allocations: 1.174 MB / 1.274 GB, free: 3.582 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/1.391, allocations: 9.797 kB / 1.274 GB, free: 3.582 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.391, allocations: 7.5 kB / 1.274 GB, free: 3.582 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/1.392, allocations: 222.7 kB / 1.274 GB, free: 3.527 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009839/1.393, allocations: 193.2 kB / 1.274 GB, free: 3.508 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/1.395, allocations: 0.7219 MB / 1.275 GB, free: 2.902 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.396, allocations: 172.1 kB / 1.275 GB, free: 2.836 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/1.397, allocations: 44.11 kB / 1.275 GB, free: 2.824 MB / 1.123 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.001015/1.398, allocations: 359.3 kB / 1.276 GB, free: 2.555 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004843/1.398, allocations: 123.8 kB / 1.276 GB, free: 2.488 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/1.401, allocations: 1.142 MB / 1.277 GB, free: 1.836 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/1.401, allocations: 6.219 kB / 1.277 GB, free: 1.836 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.401, allocations: 0 / 1.277 GB, free: 1.836 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.401, allocations: 5.609 kB / 1.277 GB, free: 1.832 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006971/1.408, allocations: 2.2 MB / 1.279 GB, free: 396 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.408, allocations: 1.219 kB / 1.279 GB, free: 396 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/1.409, allocations: 81.27 kB / 1.279 GB, free: 376 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008712/1.41, allocations: 211.7 kB / 1.279 GB, free: 264 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/1.41, allocations: 22.67 kB / 1.279 GB, free: 248 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/1.411, allocations: 0.7666 MB / 1.28 GB, free: 15.59 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.411, allocations: 1.125 kB / 1.28 GB, free: 15.59 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004246/1.415, allocations: 1.194 MB / 1.281 GB, free: 14.88 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.417, allocations: 241.7 kB / 1.282 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005225/1.417, allocations: 13.06 kB / 1.282 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.418, allocations: 70.67 kB / 1.282 GB, free: 14.65 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.419, allocations: 40.08 kB / 1.282 GB, free: 14.63 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.912e-05/1.419, allocations: 24.86 kB / 1.282 GB, free: 14.62 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002453/1.421, allocations: 0.8515 MB / 1.282 GB, free: 14.14 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.421, allocations: 0 / 1.282 GB, free: 14.14 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002831/1.424, allocations: 486.8 kB / 1.283 GB, free: 14 MB / 1.139 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.001587/1.426, allocations: 473 kB / 1.283 GB, free: 13.73 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002814/1.428, allocations: 0.8403 MB / 1.284 GB, free: 13.34 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/1.428, allocations: 0 / 1.284 GB, free: 13.34 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/1.43, allocations: 423.8 kB / 1.285 GB, free: 13.15 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/1.433, allocations: 479.5 kB / 1.285 GB, free: 12.9 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006404/1.439, allocations: 2.255 MB / 1.287 GB, free: 11.52 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/1.441, allocations: 0.586 MB / 1.288 GB, free: 11.19 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001295/1.442, allocations: 220.5 kB / 1.288 GB, free: 11.08 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/1.442, allocations: 95.44 kB / 1.288 GB, free: 11.06 MB / 1.139 GB Notification: Performance of SimCode: time 1.813e-06/1.442, allocations: 0 / 1.288 GB, free: 11.06 MB / 1.139 GB Notification: Performance of Templates: time 0.05295/1.495, allocations: 25.06 MB / 1.313 GB, free: 5.895 MB / 1.154 GB " [Timeout remaining time 298] 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 -s ida -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/jenkins1/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.831714930012822]