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.001629/0.001629, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001791/0.001791, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.235/3.235, allocations: 0.4892 GB / 0.7951 GB, free: 35.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002233/0.002233, allocations: 65.52 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3778, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003332/0.3812, allocations: 1.658 MB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002782/0.3839, allocations: 1.672 MB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.384, allocations: 4 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.3845, allocations: 55.69 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.3848, allocations: 95.59 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.3849, allocations: 79.67 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000261/0.3852, allocations: 179.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.3853, allocations: 8 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3854, allocations: 67.77 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.3855, allocations: 71.72 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.3856, allocations: 12 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.3858, allocations: 111.9 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.3858, allocations: 51.89 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.013e-05/0.3859, allocations: 55.64 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.3863, allocations: 247 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3863, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3863, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.3863, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 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.0007472/0.3871, allocations: 429 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3871, allocations: 8.031 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.3872, allocations: 20.84 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.3876, allocations: 199.1 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3876, allocations: 8.375 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3877, allocations: 8.125 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.3879, allocations: 153 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.388, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.388, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.388, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.3883, allocations: 187.8 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.3886, allocations: 177.2 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.3891, allocations: 202.4 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3892, allocations: 56.83 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.3892, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.3894, allocations: 123.3 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3894, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005903/0.39, allocations: 261.4 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.3901, allocations: 89.11 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.3904, allocations: 243 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.3904, allocations: 37.64 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.3905, allocations: 108.1 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.3906, allocations: 51.61 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.3907, allocations: 37.7 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3908, allocations: 326.8 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.3909, allocations: 55.97 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.3911, allocations: 108.2 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.3914, allocations: 160.9 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3914, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003976/0.3918, allocations: 225.4 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3918, allocations: 5.875 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3918, allocations: 0 / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3918, allocations: 4 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.392, allocations: 31.91 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.392, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/0.392, allocations: 7.953 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.392, allocations: 12.03 kB / 1.334 GB, free: 10.01 MB / 1.029 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.0001354/0.3922, allocations: 140.5 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.3922, allocations: 19.84 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005698/0.3928, allocations: 292.2 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3928, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3928, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.3928, allocations: 3.984 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.393, allocations: 185.2 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.393, allocations: 0 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.3932, allocations: 35.98 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3932, allocations: 7.938 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.3932, allocations: 11.98 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3932, allocations: 3.938 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.3932, allocations: 7.984 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.3937, allocations: 274.9 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.3937, allocations: 19.86 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.3937, allocations: 7.938 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.3938, allocations: 8 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3939, allocations: 19.97 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.3939, allocations: 7.984 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002236/0.3941, allocations: 192.4 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3941, allocations: 0 / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003066/0.3944, allocations: 63.8 kB / 1.335 GB, free: 8.664 MB / 1.029 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.001989/0.3964, allocations: 0.5381 MB / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003614/0.3968, allocations: 155.8 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3968, allocations: 0 / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.3969, allocations: 83.89 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3972, allocations: 43.14 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.3981, allocations: 384.6 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.3983, allocations: 127.9 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3984, allocations: 31.42 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3984, allocations: 0 / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of Templates: time 0.006779/0.4052, allocations: 3.495 MB / 1.34 GB, free: 4.012 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 12.288701886776835]