Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.002566/0.002566, allocations: 83.7 kB / 20.23 MB, free: 4.18 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.003098/0.003098, allocations: 157.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.668/1.668, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 3.094/3.094, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.722e-05/3.936e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003737/0.003777, allocations: 1.687 MB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003311/0.007087, allocations: 1.707 MB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.08e-05/0.007168, allocations: 1.688 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.007692, allocations: 47.7 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.008015, allocations: 115.3 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.008203, allocations: 71.67 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.008488, allocations: 185 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.008525, allocations: 0 / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.008685, allocations: 87.8 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.008868, allocations: 63.84 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.008904, allocations: 13.75 kB / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.009123, allocations: 115.8 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.201e-05/0.009215, allocations: 47.83 kB / 0.8149 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.009287, allocations: 39.86 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.009733, allocations: 267.1 kB / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.009738, allocations: 1.062 kB / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.342e-06/0.009739, allocations: 0 / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.009745, allocations: 0 / 0.8152 GB, free: 13.65 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009379/0.01068, allocations: 0.5157 MB / 0.8157 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.01073, allocations: 12.03 kB / 0.8157 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.01085, allocations: 27.25 kB / 0.8157 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.01127, allocations: 197.2 kB / 0.8159 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.01129, allocations: 384 / 0.8159 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.01131, allocations: 4.375 kB / 0.8159 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.01163, allocations: 147.2 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01164, allocations: 3.938 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.01166, allocations: 4 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.01167, allocations: 0.5312 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.01202, allocations: 160.5 kB / 0.8162 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.01232, allocations: 192.4 kB / 0.8164 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005195/0.01284, allocations: 171.5 kB / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.01295, allocations: 49.28 kB / 0.8166 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.01297, allocations: 0 / 0.8166 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.01322, allocations: 117 kB / 0.8167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 5.3e-06/0.01322, allocations: 4.609 kB / 0.8167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0005699/0.01379, allocations: 209.4 kB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.01386, allocations: 81.8 kB / 0.817 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.0142, allocations: 281.6 kB / 0.8172 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.01424, allocations: 34.39 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.01437, allocations: 162.9 kB / 0.8174 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.214e-05/0.01444, allocations: 52.52 kB / 0.8175 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.01452, allocations: 43.36 kB / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003268/0.01485, allocations: 0.5132 MB / 0.818 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.01495, allocations: 31.98 kB / 0.8181 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.01511, allocations: 104.7 kB / 0.8182 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.01535, allocations: 108.7 kB / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01535, allocations: 0 / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004031/0.01575, allocations: 191.9 kB / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01577, allocations: 4 kB / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.01578, allocations: 9.156 kB / 0.8185 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.01579, allocations: 0 / 0.8185 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.01594, allocations: 27.98 kB / 0.8185 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.01595, allocations: 4.844 kB / 0.8185 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.01601, allocations: 3.938 kB / 0.8185 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.01603, allocations: 10.22 kB / 0.8185 GB, free: 9.984 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001681/0.0162, allocations: 172.5 kB / 0.8187 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.01626, allocations: 27.86 kB / 0.8187 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.01694, allocations: 245 kB / 0.8189 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.01695, allocations: 7.938 kB / 0.8189 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01695, allocations: 3.094 kB / 0.8189 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01696, allocations: 0 / 0.8189 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.01724, allocations: 212.4 kB / 0.8191 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01724, allocations: 0 / 0.8191 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.01736, allocations: 35.92 kB / 0.8192 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01736, allocations: 0 / 0.8192 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.01738, allocations: 8 kB / 0.8192 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01739, allocations: 0 / 0.8192 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01739, allocations: 5.219 kB / 0.8192 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.01787, allocations: 258.4 kB / 0.8194 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.01791, allocations: 27.83 kB / 0.8195 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.01795, allocations: 4 kB / 0.8195 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.01802, allocations: 4.625 kB / 0.8195 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.01808, allocations: 28.41 kB / 0.8195 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.01811, allocations: 4 kB / 0.8195 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002124/0.01832, allocations: 209.1 kB / 0.8197 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01832, allocations: 0 / 0.8197 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003271/0.01865, allocations: 64.98 kB / 0.8198 GB, free: 8.637 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003422/0.02207, allocations: 0.5408 MB / 0.8203 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.02246, allocations: 123.6 kB / 0.8204 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.02246, allocations: 4.125 kB / 0.8204 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.02263, allocations: 83.53 kB / 0.8205 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.02296, allocations: 53.48 kB / 0.8205 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/0.02372, allocations: 326.8 kB / 0.8208 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.02387, allocations: 123.9 kB / 0.821 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.02401, allocations: 57.38 kB / 0.821 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.02411, allocations: 36.48 kB / 0.8211 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.02411, allocations: 0 / 0.8211 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of Templates: time 0.009018/0.03313, allocations: 3.565 MB / 0.8245 GB, free: 3.973 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.608854040969163]