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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.871/2.871, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002824/0.002824, allocations: 63.89 kB / 1.107 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.131, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08645/1.218, allocations: 71.7 MB / 1.342 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03245/1.25, allocations: 19.09 MB / 1.361 GB, free: 7.281 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004268/1.255, allocations: 67.25 kB / 1.361 GB, free: 7.258 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003581/1.258, allocations: 0.8538 MB / 1.362 GB, free: 6.707 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01103/1.269, allocations: 3.007 MB / 1.364 GB, free: 4.926 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005437/1.275, allocations: 1.675 MB / 1.366 GB, free: 3.941 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008209/1.283, allocations: 4.061 MB / 1.37 GB, free: 1.871 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/1.286, allocations: 1.154 MB / 1.371 GB, free: 1.215 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005928/1.291, allocations: 1.818 MB / 1.373 GB, free: 100 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/1.295, allocations: 1.228 MB / 1.374 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005671/1.295, allocations: 175.1 kB / 1.374 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/1.3, allocations: 1.455 MB / 1.376 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007767/1.301, allocations: 407.2 kB / 1.376 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002151/1.303, allocations: 0.9123 MB / 1.377 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007042/1.31, allocations: 3.117 MB / 1.38 GB, free: 11.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.31, allocations: 0 / 1.38 GB, free: 11.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.114e-06/1.31, allocations: 0 / 1.38 GB, free: 11.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.632e-05/1.31, allocations: 0 / 1.38 GB, free: 11.41 MB / 1.076 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.005108/1.315, allocations: 2.079 MB / 1.382 GB, free: 9.801 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.315, allocations: 8.969 kB / 1.382 GB, free: 9.801 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/1.318, allocations: 456.7 kB / 1.383 GB, free: 9.586 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003486/1.321, allocations: 1.567 MB / 1.384 GB, free: 8.312 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.634e-05/1.321, allocations: 81.78 kB / 1.384 GB, free: 8.273 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/1.321, allocations: 109.8 kB / 1.384 GB, free: 8.234 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/1.324, allocations: 1.315 MB / 1.386 GB, free: 7.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/1.324, allocations: 2.344 kB / 1.386 GB, free: 7.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/1.325, allocations: 43.09 kB / 1.386 GB, free: 7.289 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/1.325, allocations: 29.97 kB / 1.386 GB, free: 7.285 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/1.327, allocations: 1.097 MB / 1.387 GB, free: 6.727 MB / 1.076 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.01156/1.339, allocations: 7.513 MB / 1.394 GB, free: 15.82 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/1.342, allocations: 0.7673 MB / 1.395 GB, free: 15.42 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006399/1.343, allocations: 264.7 kB / 1.395 GB, free: 15.28 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/1.344, allocations: 1.722 MB / 1.397 GB, free: 13.25 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/1.345, allocations: 46.28 kB / 1.397 GB, free: 13.2 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 2.304e-06/1.345, allocations: 0 / 1.397 GB, free: 13.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.005152/1.35, allocations: 1.339 MB / 1.398 GB, free: 12.45 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/1.35, allocations: 60.66 kB / 1.398 GB, free: 12.39 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/1.353, allocations: 1.552 MB / 1.4 GB, free: 11.54 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/1.353, allocations: 38.11 kB / 1.4 GB, free: 11.5 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006972/1.353, allocations: 0.6775 MB / 1.4 GB, free: 10.89 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/1.354, allocations: 181.2 kB / 1.4 GB, free: 10.74 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/1.354, allocations: 173 kB / 1.401 GB, free: 10.63 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.354, allocations: 332.3 kB / 1.401 GB, free: 10.31 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/1.355, allocations: 372.3 kB / 1.401 GB, free: 10.12 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.356, allocations: 0.6549 MB / 1.402 GB, free: 9.559 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/1.358, allocations: 0.8874 MB / 1.403 GB, free: 8.902 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.358, allocations: 6.531 kB / 1.403 GB, free: 8.898 MB / 1.092 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003391/1.362, allocations: 1.191 MB / 1.404 GB, free: 8.281 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/1.362, allocations: 12.05 kB / 1.404 GB, free: 8.277 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.362, allocations: 11.44 kB / 1.404 GB, free: 8.273 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009771/1.363, allocations: 222.5 kB / 1.404 GB, free: 8.16 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007842/1.364, allocations: 186.5 kB / 1.404 GB, free: 8.113 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009445/1.364, allocations: 0.7307 MB / 1.405 GB, free: 7.469 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.366, allocations: 215.5 kB / 1.405 GB, free: 7.348 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/1.366, allocations: 43.89 kB / 1.405 GB, free: 7.336 MB / 1.092 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.0006668/1.367, allocations: 350.9 kB / 1.406 GB, free: 7.074 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/1.367, allocations: 162.8 kB / 1.406 GB, free: 6.984 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/1.37, allocations: 1.138 MB / 1.407 GB, free: 6.32 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/1.37, allocations: 10.8 kB / 1.407 GB, free: 6.316 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.37, allocations: 0 / 1.407 GB, free: 6.316 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.37, allocations: 5.109 kB / 1.407 GB, free: 6.312 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006272/1.376, allocations: 2.508 MB / 1.409 GB, free: 4.547 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.376, allocations: 2.188 kB / 1.409 GB, free: 4.547 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/1.377, allocations: 81.61 kB / 1.41 GB, free: 4.527 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009481/1.378, allocations: 211.3 kB / 1.41 GB, free: 4.418 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/1.378, allocations: 22.86 kB / 1.41 GB, free: 4.402 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/1.379, allocations: 0.7689 MB / 1.41 GB, free: 3.746 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.379, allocations: 5.75 kB / 1.411 GB, free: 3.742 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/1.383, allocations: 1.203 MB / 1.412 GB, free: 3.012 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.384, allocations: 362.7 kB / 1.412 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/1.384, allocations: 17.42 kB / 1.412 GB, free: 2.68 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009279/1.385, allocations: 73.05 kB / 1.412 GB, free: 2.645 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.386, allocations: 44.69 kB / 1.412 GB, free: 2.621 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-05/1.386, allocations: 24.98 kB / 1.412 GB, free: 2.613 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002188/1.388, allocations: 1.087 MB / 1.413 GB, free: 2.02 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.388, allocations: 3.938 kB / 1.413 GB, free: 2.016 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001782/1.39, allocations: 444.3 kB / 1.414 GB, free: 1.914 MB / 1.092 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.00129/1.391, allocations: 488.1 kB / 1.414 GB, free: 1.609 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002338/1.393, allocations: 0.8252 MB / 1.415 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.393, allocations: 4.25 kB / 1.415 GB, free: 0.7852 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/1.395, allocations: 419.3 kB / 1.415 GB, free: 388 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/1.398, allocations: 0.7357 MB / 1.416 GB, free: 15.66 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00535/1.404, allocations: 2.307 MB / 1.418 GB, free: 13.3 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.405, allocations: 1.168 MB / 1.419 GB, free: 12.1 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001488/1.406, allocations: 276.1 kB / 1.42 GB, free: 11.83 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/1.407, allocations: 111.4 kB / 1.42 GB, free: 11.72 MB / 1.107 GB Notification: Performance of SimCode: time 1.392e-06/1.407, allocations: 0 / 1.42 GB, free: 11.72 MB / 1.107 GB Notification: Performance of Templates: time 0.06108/1.468, allocations: 32.23 MB / 1.451 GB, free: 11.84 MB / 1.139 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.686306324787438]