Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008975/0.0008975, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009022/0.0009022, allocations: 170 kB / 23.27 MB, free: 1.223 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.9448/0.9448, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.276/2.276, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.342e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.02069/0.02072, allocations: 18.56 MB / 0.9079 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.03407, allocations: 8.022 MB / 0.9157 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003401/0.03747, allocations: 99.12 kB / 0.9158 GB, free: 15 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.03886, allocations: 444.4 kB / 0.9162 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.04409, allocations: 1.767 MB / 0.9179 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.04753, allocations: 1.929 MB / 0.9198 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.005249/0.05278, allocations: 4.072 MB / 0.9238 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.05463, allocations: 1.182 MB / 0.925 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.05819, allocations: 2.047 MB / 0.927 GB, free: 3.52 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.05977, allocations: 0.9892 MB / 0.9279 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.0601, allocations: 176 kB / 0.9281 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.06127, allocations: 0.6551 MB / 0.9287 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.06155, allocations: 410.3 kB / 0.9291 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.00076/0.06231, allocations: 0.6196 MB / 0.9297 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.06466, allocations: 1.69 MB / 0.9314 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.06466, allocations: 0 / 0.9314 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.425e-06/0.06466, allocations: 4 kB / 0.9314 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.02e-05/0.06472, allocations: 0 / 0.9314 GB, free: 14.98 MB / 0.9011 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.002689/0.0674, allocations: 2.112 MB / 0.9334 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.06746, allocations: 8.625 kB / 0.9334 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.0685, allocations: 483.2 kB / 0.9339 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.07011, allocations: 1.616 MB / 0.9355 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.07017, allocations: 86.03 kB / 0.9356 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-05/0.07027, allocations: 112 kB / 0.9357 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.07144, allocations: 1.033 MB / 0.9367 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.07146, allocations: 3.938 kB / 0.9367 GB, free: 9.266 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-05/0.07152, allocations: 44 kB / 0.9367 GB, free: 9.223 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.07154, allocations: 28 kB / 0.9368 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.07208, allocations: 385.4 kB / 0.9371 GB, free: 8.816 MB / 0.9011 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.004881/0.07696, allocations: 6.149 MB / 0.9431 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.07777, allocations: 409.7 kB / 0.9435 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.07789, allocations: 97.14 kB / 0.9436 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.07805, allocations: 68.33 kB / 0.9437 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.07808, allocations: 45.89 kB / 0.9437 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=48): time 2.255e-06/0.07808, allocations: 0 / 0.9437 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of matching and sorting (n=48): time 0.00144/0.07952, allocations: 0.6947 MB / 0.9444 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.07955, allocations: 59.91 kB / 0.9445 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/0.08049, allocations: 1.086 MB / 0.9455 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.08054, allocations: 41.64 kB / 0.9456 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.08097, allocations: 0.8003 MB / 0.9463 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.08107, allocations: 178.5 kB / 0.9465 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.08128, allocations: 212.1 kB / 0.9467 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.08143, allocations: 0.512 MB / 0.9472 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.08162, allocations: 101.9 kB / 0.9473 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/0.08219, allocations: 1.011 MB / 0.9483 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.08281, allocations: 0.7619 MB / 0.949 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.08282, allocations: 4 kB / 0.949 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0009289/0.08375, allocations: 0.7661 MB / 0.9498 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.08377, allocations: 8 kB / 0.9498 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.08378, allocations: 16.09 kB / 0.9498 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/0.08422, allocations: 183.5 kB / 0.95 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.08461, allocations: 215.6 kB / 0.9502 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004414/0.08505, allocations: 0.8701 MB / 0.951 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.08562, allocations: 163.2 kB / 0.9512 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.08568, allocations: 47.98 kB / 0.9512 GB, free: 9.445 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (101): * Single equations (assignments): 100 * 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.0002543/0.08593, allocations: 216.2 kB / 0.9515 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.08607, allocations: 147.1 kB / 0.9516 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008646/0.08694, allocations: 0.7189 MB / 0.9523 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.08695, allocations: 15.94 kB / 0.9523 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.08695, allocations: 0 / 0.9523 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.08696, allocations: 3.984 kB / 0.9523 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.08888, allocations: 1.517 MB / 0.9538 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.08889, allocations: 4 kB / 0.9538 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.08905, allocations: 71.91 kB / 0.9539 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.08942, allocations: 171.6 kB / 0.954 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.08945, allocations: 23.92 kB / 0.9541 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005014/0.08995, allocations: 0.8936 MB / 0.9549 GB, free: 5.539 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.08996, allocations: 8 kB / 0.9549 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.09098, allocations: 0.7974 MB / 0.9557 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.09126, allocations: 238.8 kB / 0.9559 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.09134, allocations: 12 kB / 0.956 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.09163, allocations: 39.97 kB / 0.956 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.0917, allocations: 52.3 kB / 0.956 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.09173, allocations: 19.98 kB / 0.9561 GB, free: 4.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004985/0.09223, allocations: 0.623 MB / 0.9567 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.09223, allocations: 0 / 0.9567 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009045/0.09313, allocations: 415 kB / 0.9571 GB, free: 3.289 MB / 0.9167 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.0003517/0.09349, allocations: 240.4 kB / 0.9573 GB, free: 3.043 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006364/0.09412, allocations: 439.2 kB / 0.9577 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.09412, allocations: 2 kB / 0.9577 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.09447, allocations: 229.3 kB / 0.9579 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.0956, allocations: 499.8 kB / 0.9584 GB, free: 1.906 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.0984, allocations: 2.091 MB / 0.9605 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.09859, allocations: 249.4 kB / 0.9607 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005571/0.09914, allocations: 205.9 kB / 0.9609 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.09991, allocations: 0.4939 MB / 0.9614 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of SimCode: time 1.262e-06/0.09991, allocations: 0 / 0.9614 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of Templates: time 0.03247/0.1324, allocations: 24.15 MB / 0.9849 GB, free: 7.152 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.867237430997193]