Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001571/0.001571, allocations: 117.8 kB / 17.13 MB, free: 5.758 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.001642/0.001642, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.46/1.46, allocations: 225.6 MB / 248.5 MB, free: 3.664 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 443.5 MB / 0.7293 GB, free: 14.73 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.91 kB / 1.057 GB, free: 2.188 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3273, allocations: 160.8 MB / 1.214 GB, free: 1.145 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.7663/1.094, allocations: 71.01 MB / 1.283 GB, free: 19.19 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0262/1.12, allocations: 18.98 MB / 1.302 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003654/1.123, allocations: 70.66 kB / 1.302 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/1.126, allocations: 0.8533 MB / 1.303 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009944/1.136, allocations: 3.006 MB / 1.306 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005079/1.141, allocations: 1.654 MB / 1.307 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007403/1.149, allocations: 4.048 MB / 1.311 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002447/1.151, allocations: 1.179 MB / 1.312 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005125/1.156, allocations: 1.807 MB / 1.314 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/1.159, allocations: 1.228 MB / 1.315 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004586/1.16, allocations: 175.4 kB / 1.316 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/1.164, allocations: 1.448 MB / 1.317 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005448/1.165, allocations: 408.7 kB / 1.317 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001623/1.166, allocations: 0.912 MB / 1.318 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006292/1.173, allocations: 3.119 MB / 1.321 GB, free: 15.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.173, allocations: 0.7031 kB / 1.321 GB, free: 15.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/1.173, allocations: 0 / 1.321 GB, free: 15.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.556e-05/1.173, allocations: 0 / 1.321 GB, free: 15.77 MB / 1.014 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.004951/1.178, allocations: 2.087 MB / 1.323 GB, free: 14.33 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/1.178, allocations: 8.859 kB / 1.323 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002504/1.18, allocations: 458.1 kB / 1.324 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/1.184, allocations: 1.565 MB / 1.325 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.184, allocations: 78.31 kB / 1.325 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/1.184, allocations: 103.6 kB / 1.326 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003105/1.187, allocations: 1.318 MB / 1.327 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/1.187, allocations: 2.844 kB / 1.327 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/1.187, allocations: 47.61 kB / 1.327 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/1.187, allocations: 29.12 kB / 1.327 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003043/1.19, allocations: 1.1 MB / 1.328 GB, free: 12.03 MB / 1.014 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.01232/1.203, allocations: 7.503 MB / 1.335 GB, free: 6.094 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/1.206, allocations: 0.7704 MB / 1.336 GB, free: 5.848 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/1.207, allocations: 265.7 kB / 1.336 GB, free: 5.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/1.208, allocations: 1.72 MB / 1.338 GB, free: 3.754 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/1.208, allocations: 42.56 kB / 1.338 GB, free: 3.707 MB / 1.014 GB Notification: Performance of pre-optimization done (n=48): time 2.384e-06/1.208, allocations: 0 / 1.338 GB, free: 3.707 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.005506/1.214, allocations: 1.34 MB / 1.339 GB, free: 3.199 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.214, allocations: 60.84 kB / 1.339 GB, free: 3.133 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003487/1.217, allocations: 1.552 MB / 1.341 GB, free: 2.504 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/1.218, allocations: 37.95 kB / 1.341 GB, free: 2.465 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007573/1.218, allocations: 0.6806 MB / 1.342 GB, free: 1.918 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/1.219, allocations: 177.4 kB / 1.342 GB, free: 1.781 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003924/1.219, allocations: 181.9 kB / 1.342 GB, free: 1.688 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.219, allocations: 334.3 kB / 1.342 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/1.22, allocations: 367.1 kB / 1.343 GB, free: 1.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/1.222, allocations: 0.6588 MB / 1.343 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/1.224, allocations: 0.8873 MB / 1.344 GB, free: 184 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/1.224, allocations: 3.094 kB / 1.344 GB, free: 184 kB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003542/1.227, allocations: 1.2 MB / 1.345 GB, free: 15.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/1.227, allocations: 12.69 kB / 1.345 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.227, allocations: 6.844 kB / 1.345 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009997/1.228, allocations: 221.7 kB / 1.346 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000807/1.229, allocations: 189.8 kB / 1.346 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/1.23, allocations: 0.7249 MB / 1.346 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/1.232, allocations: 216.9 kB / 1.347 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/1.232, allocations: 43.17 kB / 1.347 GB, free: 14.93 MB / 1.029 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.0008045/1.233, allocations: 361.2 kB / 1.347 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005143/1.233, allocations: 153.5 kB / 1.347 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/1.236, allocations: 1.138 MB / 1.348 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/1.236, allocations: 9.75 kB / 1.348 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.236, allocations: 0 / 1.348 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/1.236, allocations: 4.125 kB / 1.348 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00659/1.243, allocations: 2.505 MB / 1.351 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/1.243, allocations: 0.875 kB / 1.351 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/1.243, allocations: 90.03 kB / 1.351 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008513/1.244, allocations: 217 kB / 1.351 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/1.244, allocations: 15.5 kB / 1.351 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/1.246, allocations: 0.7739 MB / 1.352 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.246, allocations: 5.438 kB / 1.352 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004128/1.25, allocations: 1.205 MB / 1.353 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009802/1.251, allocations: 354.7 kB / 1.353 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004395/1.251, allocations: 20.62 kB / 1.353 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.252, allocations: 73.16 kB / 1.353 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/1.253, allocations: 39.92 kB / 1.353 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.431e-05/1.253, allocations: 29.67 kB / 1.353 GB, free: 10.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002545/1.255, allocations: 1.086 MB / 1.355 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/1.255, allocations: 1.312 kB / 1.355 GB, free: 10.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002173/1.257, allocations: 447.6 kB / 1.355 GB, free: 9.926 MB / 1.029 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.001483/1.259, allocations: 471.8 kB / 1.355 GB, free: 9.676 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002706/1.262, allocations: 0.8367 MB / 1.356 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.262, allocations: 0 / 1.356 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/1.263, allocations: 415.8 kB / 1.357 GB, free: 9.082 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/1.267, allocations: 0.7463 MB / 1.357 GB, free: 8.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/1.273, allocations: 2.328 MB / 1.36 GB, free: 7.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.274, allocations: 1.161 MB / 1.361 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/1.275, allocations: 123.9 kB / 1.361 GB, free: 6.32 MB / 1.029 GB Notification: Performance of SimCode: time 1.493e-06/1.275, allocations: 1.312 kB / 1.361 GB, free: 6.32 MB / 1.029 GB Notification: Performance of Templates: time 0.0582/1.333, allocations: 34.35 MB / 1.394 GB, free: 11.84 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.39299420407042]