Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.001579/0.001579, allocations: 84.39 kB / 20.23 MB, free: 4.184 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.001731/0.001731, allocations: 161.3 kB / 23.54 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.593/1.593, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.978/2.978, allocations: 377.8 MB / 0.6232 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0.7656 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.193e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002855/0.002887, allocations: 0.6016 MB / 0.8114 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004325/0.007212, allocations: 1.73 MB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.007245, allocations: 8.625 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.793e-05/0.007303, allocations: 3.938 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.082e-05/0.007344, allocations: 0.9062 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.008856, allocations: 307.4 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.009145, allocations: 127.8 kB / 0.8136 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.009184, allocations: 4 kB / 0.8136 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.009384, allocations: 65.27 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.009565, allocations: 51.92 kB / 0.8137 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.009605, allocations: 8 kB / 0.8137 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009468/0.01055, allocations: 337.2 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.01065, allocations: 43.89 kB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.01075, allocations: 31.91 kB / 0.8141 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000892/0.01165, allocations: 351 kB / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01165, allocations: 0 / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.352e-06/0.01165, allocations: 5.531 kB / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.01166, allocations: 0 / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001051/0.01271, allocations: 370.5 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.01276, allocations: 8.031 kB / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.01289, allocations: 33.69 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.01304, allocations: 109.7 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.01306, allocations: 9 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.01311, allocations: 14.34 kB / 0.8149 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.01366, allocations: 219.1 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.01368, allocations: 7.938 kB / 0.8151 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.01371, allocations: 4 kB / 0.8152 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.01372, allocations: 4 kB / 0.8152 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.0142, allocations: 175.7 kB / 0.8153 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.01467, allocations: 210.4 kB / 0.8155 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.01591, allocations: 385.7 kB / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.01632, allocations: 165.2 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003795/0.0167, allocations: 41.59 kB / 0.8161 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/0.01676, allocations: 47.62 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/0.01676, allocations: 0 / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.001203/0.01796, allocations: 402.4 kB / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/0.01814, allocations: 184.8 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.01826, allocations: 97.84 kB / 0.8168 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.0183, allocations: 30.3 kB / 0.8168 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.01836, allocations: 81.8 kB / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.01852, allocations: 103.1 kB / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.01866, allocations: 57.69 kB / 0.817 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002987/0.01896, allocations: 323.6 kB / 0.8174 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.01922, allocations: 91.92 kB / 0.8174 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.01955, allocations: 142.4 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/0.02021, allocations: 257.2 kB / 0.8178 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.02021, allocations: 0 / 0.8178 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008345/0.02105, allocations: 294.7 kB / 0.8181 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.02108, allocations: 11.98 kB / 0.8181 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.02109, allocations: 0 / 0.8181 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.575e-05/0.02112, allocations: 7.938 kB / 0.8181 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.02149, allocations: 52.78 kB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.02151, allocations: 4 kB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.02167, allocations: 18.11 kB / 0.8182 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.02172, allocations: 16.36 kB / 0.8182 GB, free: 10.25 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.02194, allocations: 137.7 kB / 0.8183 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/0.02203, allocations: 23.91 kB / 0.8184 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.02308, allocations: 364.9 kB / 0.8187 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.0231, allocations: 8.438 kB / 0.8187 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.0231, allocations: 7.438 kB / 0.8187 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.02311, allocations: 7.922 kB / 0.8187 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.0235, allocations: 189.1 kB / 0.8189 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.02351, allocations: 0 / 0.8189 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.02387, allocations: 55.91 kB / 0.819 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.02389, allocations: 4 kB / 0.819 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.02392, allocations: 11.98 kB / 0.819 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.02393, allocations: 0 / 0.819 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/0.02394, allocations: 7.938 kB / 0.819 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008199/0.02476, allocations: 350.5 kB / 0.8193 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.02488, allocations: 44.38 kB / 0.8194 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.02492, allocations: 8.5 kB / 0.8194 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.02506, allocations: 8.562 kB / 0.8194 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.02513, allocations: 27.89 kB / 0.8194 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.02516, allocations: 16.55 kB / 0.8194 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.02522, allocations: 76.69 kB / 0.8195 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02522, allocations: 0 / 0.8195 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006238/0.02585, allocations: 99.8 kB / 0.8196 GB, free: 8.762 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006391/0.02648, allocations: 220.2 kB / 0.8198 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006744/0.02716, allocations: 237.2 kB / 0.82 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.02716, allocations: 0 / 0.82 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.02749, allocations: 127.8 kB / 0.8202 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.02784, allocations: 19.98 kB / 0.8202 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009835/0.02882, allocations: 373.3 kB / 0.8205 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.02912, allocations: 97.31 kB / 0.8206 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003927/0.02951, allocations: 107.3 kB / 0.8207 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.02964, allocations: 32.47 kB / 0.8208 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.02964, allocations: 1.094 kB / 0.8208 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of Templates: time 0.009671/0.03931, allocations: 2.547 MB / 0.8232 GB, free: 4.98 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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: 8.54816651204601]