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.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.002102/0.002102, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.00208/0.00208, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.64/1.64, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.014/3.014, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.913e-06/1.913e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.586e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09699/0.09702, allocations: 73.32 MB / 0.858 GB, free: 3.32 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.03385/0.1309, allocations: 19.56 MB / 0.8771 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003221/0.1341, allocations: 95.19 kB / 0.8772 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002863/0.137, allocations: 0.8304 MB / 0.878 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.1475, allocations: 3.117 MB / 0.881 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.005425/0.153, allocations: 1.77 MB / 0.8828 GB, free: 9.871 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00774/0.1607, allocations: 4.109 MB / 0.8868 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.1632, allocations: 1.173 MB / 0.8879 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006224/0.1695, allocations: 2.447 MB / 0.8903 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.1723, allocations: 1.052 MB / 0.8913 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0004612/0.1728, allocations: 172 kB / 0.8915 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003444/0.1763, allocations: 1.177 MB / 0.8926 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005089/0.1768, allocations: 414.3 kB / 0.893 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.1779, allocations: 0.604 MB / 0.8936 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005902/0.1838, allocations: 3.155 MB / 0.8967 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1838, allocations: 0 / 0.8967 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1838, allocations: 4 kB / 0.8967 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.113e-05/0.1838, allocations: 0 / 0.8967 GB, free: 11.51 MB / 0.8542 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.00492/0.1887, allocations: 2.307 MB / 0.899 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.1888, allocations: 8.031 kB / 0.899 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.191, allocations: 479.5 kB / 0.8994 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.1944, allocations: 1.632 MB / 0.901 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.952e-05/0.1945, allocations: 81.97 kB / 0.9011 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.1946, allocations: 104 kB / 0.9012 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/0.1977, allocations: 1.506 MB / 0.9027 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.1977, allocations: 7.938 kB / 0.9027 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.1978, allocations: 44 kB / 0.9027 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.1979, allocations: 24 kB / 0.9027 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.2004, allocations: 0.9836 MB / 0.9037 GB, free: 4.086 MB / 0.8542 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.01217/0.2125, allocations: 7.966 MB / 0.9115 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.2154, allocations: 0.7071 MB / 0.9122 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/0.2159, allocations: 233.1 kB / 0.9124 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006142/0.2166, allocations: 160.4 kB / 0.9125 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.2166, allocations: 45.83 kB / 0.9126 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=48): time 3.346e-06/0.2166, allocations: 0 / 0.9126 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.004386/0.221, allocations: 1.074 MB / 0.9136 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.2211, allocations: 59.91 kB / 0.9137 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/0.224, allocations: 1.663 MB / 0.9153 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.384e-05/0.224, allocations: 41.7 kB / 0.9154 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009221/0.225, allocations: 0.8742 MB / 0.9162 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.2252, allocations: 194.5 kB / 0.9164 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.2256, allocations: 212.2 kB / 0.9166 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003121/0.2259, allocations: 0.5356 MB / 0.9171 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008368/0.2267, allocations: 301.8 kB / 0.9174 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.2283, allocations: 1.077 MB / 0.9185 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.2302, allocations: 0.9434 MB / 0.9194 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.2302, allocations: 4 kB / 0.9194 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003098/0.2333, allocations: 1.09 MB / 0.9205 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.2333, allocations: 12 kB / 0.9205 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.2334, allocations: 8 kB / 0.9205 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009876/0.2343, allocations: 211.7 kB / 0.9207 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/0.2351, allocations: 175.8 kB / 0.9208 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.2364, allocations: 0.9795 MB / 0.9218 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.2377, allocations: 139.4 kB / 0.9219 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.2378, allocations: 39.98 kB / 0.922 GB, free: 0.5859 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.0008435/0.2387, allocations: 396.3 kB / 0.9223 GB, free: 192 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.239, allocations: 151.2 kB / 0.9225 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.2413, allocations: 0.9946 MB / 0.9235 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/0.2414, allocations: 12 kB / 0.9235 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2414, allocations: 8 kB / 0.9235 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.2414, allocations: 3.984 kB / 0.9235 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/0.2471, allocations: 2.47 MB / 0.9259 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.2471, allocations: 4 kB / 0.9259 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.2474, allocations: 79.78 kB / 0.926 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008018/0.2482, allocations: 207.7 kB / 0.9262 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.2483, allocations: 16 kB / 0.9262 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.2497, allocations: 1.015 MB / 0.9272 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.2497, allocations: 4 kB / 0.9272 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.2529, allocations: 1.082 MB / 0.9282 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007688/0.2537, allocations: 242.9 kB / 0.9285 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.2538, allocations: 12 kB / 0.9285 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/0.2545, allocations: 39.97 kB / 0.9285 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.2546, allocations: 44.36 kB / 0.9286 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/0.2547, allocations: 31.98 kB / 0.9286 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001833/0.2565, allocations: 0.988 MB / 0.9296 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2565, allocations: 0 / 0.9296 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001901/0.2584, allocations: 482.7 kB / 0.93 GB, free: 8.16 MB / 0.8855 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.001029/0.2594, allocations: 475.5 kB / 0.9305 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002166/0.2616, allocations: 0.7612 MB / 0.9312 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2616, allocations: 0 / 0.9312 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.2627, allocations: 369.5 kB / 0.9316 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.2651, allocations: 492.9 kB / 0.932 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.2701, allocations: 2.254 MB / 0.9342 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/0.2709, allocations: 0.5747 MB / 0.9348 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009167/0.2718, allocations: 229.3 kB / 0.935 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.2721, allocations: 104.5 kB / 0.9351 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of SimCode: time 2.004e-06/0.2721, allocations: 0 / 0.9351 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of Templates: time 0.05277/0.3248, allocations: 25.08 MB / 0.9596 GB, free: 10.23 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] 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: 9.599244242999703]