Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001365/0.001365, allocations: 110.5 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001516/0.001516, allocations: 215.3 kB / 23.01 MB, free: 4.566 MB / 14.72 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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 3.373/3.373, allocations: 0.505 GB / 0.8108 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 63.92 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4123, allocations: 180.2 MB / 1.354 GB, free: 8.016 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003318/0.4156, allocations: 1.698 MB / 1.356 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002735/0.4184, allocations: 1.727 MB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.4184, allocations: 3.938 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.4189, allocations: 67.69 kB / 1.358 GB, free: 4.504 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.4192, allocations: 91.59 kB / 1.358 GB, free: 4.414 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.4193, allocations: 71.69 kB / 1.358 GB, free: 4.344 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.4196, allocations: 191.5 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.4196, allocations: 3.984 kB / 1.358 GB, free: 4.152 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.4198, allocations: 79.64 kB / 1.358 GB, free: 4.074 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.42, allocations: 67.8 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.42, allocations: 12 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.4202, allocations: 119.9 kB / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.81e-05/0.4203, allocations: 43.84 kB / 1.358 GB, free: 3.836 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.217e-05/0.4204, allocations: 63.59 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.4207, allocations: 247 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4207, allocations: 0 / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4207, allocations: 4 kB / 1.358 GB, free: 3.527 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.4208, allocations: 0 / 1.358 GB, free: 3.527 MB / 1.045 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.00068/0.4214, allocations: 420.9 kB / 1.359 GB, free: 3.086 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4215, allocations: 12.03 kB / 1.359 GB, free: 3.074 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.4215, allocations: 12.84 kB / 1.359 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.422, allocations: 215.1 kB / 1.359 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.422, allocations: 12.31 kB / 1.359 GB, free: 2.812 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.422, allocations: 8.125 kB / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.4223, allocations: 119.3 kB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.4223, allocations: 0 / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.4223, allocations: 8 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4223, allocations: 3.938 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.4225, allocations: 139.9 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.4228, allocations: 208.6 kB / 1.36 GB, free: 2.281 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.4232, allocations: 170.5 kB / 1.36 GB, free: 2.105 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.4233, allocations: 44.78 kB / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.4233, allocations: 7.984 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.4236, allocations: 111.3 kB / 1.36 GB, free: 1.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.4236, allocations: 0 / 1.36 GB, free: 1.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.000525/0.4241, allocations: 223.7 kB / 1.36 GB, free: 1.707 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.4242, allocations: 85.11 kB / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.4244, allocations: 210.9 kB / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.4244, allocations: 37.69 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.4245, allocations: 116.1 kB / 1.361 GB, free: 1.23 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.4246, allocations: 47.64 kB / 1.361 GB, free: 1.184 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.4246, allocations: 33.7 kB / 1.361 GB, free: 1.145 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4248, allocations: 326.8 kB / 1.361 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.4249, allocations: 51.97 kB / 1.361 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.425, allocations: 80.38 kB / 1.361 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.4252, allocations: 121.7 kB / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4252, allocations: 0 / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003251/0.4255, allocations: 191.8 kB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4256, allocations: 8 kB / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4256, allocations: 8.047 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4256, allocations: 0 / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.4257, allocations: 27.94 kB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.4257, allocations: 3.984 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.4258, allocations: 15.89 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.4258, allocations: 4 kB / 1.361 GB, free: 304 kB / 1.045 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.0001312/0.4259, allocations: 140.1 kB / 1.362 GB, free: 156 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.426, allocations: 15.91 kB / 1.362 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.4264, allocations: 231 kB / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4264, allocations: 4 kB / 1.362 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4264, allocations: 0 / 1.362 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4264, allocations: 0 / 1.362 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.4266, allocations: 212.5 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4266, allocations: 4 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.4267, allocations: 15.98 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4267, allocations: 4 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4267, allocations: 0 / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.4267, allocations: 4 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4267, allocations: 0 / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.4271, allocations: 216.9 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.4271, allocations: 19.8 kB / 1.362 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.4272, allocations: 15.98 kB / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.857e-05/0.4272, allocations: 0 / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.4273, allocations: 19.98 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.4273, allocations: 4 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001565/0.4274, allocations: 156.4 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4274, allocations: 4 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002882/0.4277, allocations: 59.8 kB / 1.362 GB, free: 15.11 MB / 1.061 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 (13): * Single equations (assignments): 11 * 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.001826/0.4295, allocations: 0.5027 MB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.4298, allocations: 112 kB / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4298, allocations: 0 / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.4299, allocations: 58.66 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.4302, allocations: 32.67 kB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/0.4309, allocations: 336.6 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.4313, allocations: 0.7319 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.4314, allocations: 39.41 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4314, allocations: 0 / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of Templates: time 0.005858/0.4372, allocations: 3.277 MB / 1.367 GB, free: 10.18 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.482400482025696]