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.001352/0.001352, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001563/0.001563, allocations: 219.1 kB / 23 MB, free: 4.914 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.328/3.328, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.002175/0.002175, allocations: 74.27 kB / 1.187 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 181.9 MB / 1.365 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003437/0.3738, allocations: 1.669 MB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002925/0.3767, allocations: 1.664 MB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3768, allocations: 3.938 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.3773, allocations: 63.69 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.3777, allocations: 95.59 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.3779, allocations: 79.67 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.3782, allocations: 171.6 kB / 1.368 GB, free: 9.977 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.3782, allocations: 4 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.3784, allocations: 75.69 kB / 1.368 GB, free: 9.898 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.3785, allocations: 67.75 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.3786, allocations: 16 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.3788, allocations: 107.9 kB / 1.369 GB, free: 9.711 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.3789, allocations: 51.78 kB / 1.369 GB, free: 9.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.379, allocations: 51.72 kB / 1.369 GB, free: 9.609 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.3795, allocations: 251 kB / 1.369 GB, free: 9.363 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3795, allocations: 0 / 1.369 GB, free: 9.363 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3795, allocations: 0 / 1.369 GB, free: 9.363 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.3795, allocations: 0 / 1.369 GB, free: 9.363 MB / 1.061 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.0008126/0.3803, allocations: 417 kB / 1.369 GB, free: 8.926 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.3803, allocations: 8.031 kB / 1.369 GB, free: 8.918 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.671e-05/0.3804, allocations: 20.84 kB / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.3809, allocations: 203.1 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3809, allocations: 384 / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.3809, allocations: 12.06 kB / 1.37 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.3812, allocations: 157 kB / 1.37 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3812, allocations: 3.938 kB / 1.37 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3813, allocations: 0 / 1.37 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.3813, allocations: 4 kB / 1.37 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.3816, allocations: 187.8 kB / 1.37 GB, free: 8.297 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.3819, allocations: 177.2 kB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.3824, allocations: 198.5 kB / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.3825, allocations: 56.83 kB / 1.37 GB, free: 7.832 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3825, allocations: 4 kB / 1.37 GB, free: 7.828 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.3828, allocations: 131.3 kB / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3828, allocations: 3.938 kB / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005733/0.3834, allocations: 249.5 kB / 1.371 GB, free: 7.434 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.3834, allocations: 77.11 kB / 1.371 GB, free: 7.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.3837, allocations: 254.9 kB / 1.371 GB, free: 7.078 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3837, allocations: 33.7 kB / 1.371 GB, free: 7.039 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.3838, allocations: 116.1 kB / 1.371 GB, free: 6.922 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.3839, allocations: 51.58 kB / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.384, allocations: 33.7 kB / 1.371 GB, free: 6.832 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3841, allocations: 338.8 kB / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.3843, allocations: 55.97 kB / 1.372 GB, free: 6.438 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3844, allocations: 112.2 kB / 1.372 GB, free: 6.312 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.3847, allocations: 144 kB / 1.372 GB, free: 6.168 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3847, allocations: 0 / 1.372 GB, free: 6.168 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003935/0.3851, allocations: 221.4 kB / 1.372 GB, free: 5.945 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3851, allocations: 5.719 kB / 1.372 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3851, allocations: 0 / 1.372 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3851, allocations: 4 kB / 1.372 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3853, allocations: 23.98 kB / 1.372 GB, free: 5.914 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3853, allocations: 0 / 1.372 GB, free: 5.914 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.3853, allocations: 15.89 kB / 1.372 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.3854, allocations: 7.984 kB / 1.372 GB, free: 5.891 MB / 1.061 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.000143/0.3855, allocations: 140.4 kB / 1.372 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.3855, allocations: 23.88 kB / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.3861, allocations: 290.8 kB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3861, allocations: 4 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3861, allocations: 3.938 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3861, allocations: 3.938 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.3863, allocations: 193.1 kB / 1.373 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3863, allocations: 0 / 1.373 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.3865, allocations: 35.98 kB / 1.373 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3865, allocations: 3.938 kB / 1.373 GB, free: 5.156 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.3865, allocations: 8 kB / 1.373 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3865, allocations: 0 / 1.373 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3865, allocations: 0 / 1.373 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.3869, allocations: 287 kB / 1.373 GB, free: 4.852 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.387, allocations: 15.91 kB / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.387, allocations: 19.92 kB / 1.373 GB, free: 4.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.488e-05/0.3871, allocations: 4 kB / 1.373 GB, free: 4.812 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.3871, allocations: 15.97 kB / 1.373 GB, free: 4.797 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3872, allocations: 8 kB / 1.373 GB, free: 4.789 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002039/0.3874, allocations: 196.1 kB / 1.373 GB, free: 4.598 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3874, allocations: 0 / 1.373 GB, free: 4.598 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003018/0.3877, allocations: 63.86 kB / 1.373 GB, free: 4.535 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 (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.002002/0.3897, allocations: 0.5331 MB / 1.374 GB, free: 4.215 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.39, allocations: 147.9 kB / 1.374 GB, free: 4.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.39, allocations: 0 / 1.374 GB, free: 4.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.3902, allocations: 83.91 kB / 1.374 GB, free: 3.988 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.3905, allocations: 39.98 kB / 1.374 GB, free: 3.953 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007101/0.3912, allocations: 384.5 kB / 1.374 GB, free: 3.547 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.3913, allocations: 124 kB / 1.375 GB, free: 3.406 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.3914, allocations: 39.41 kB / 1.375 GB, free: 3.367 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.3914, allocations: 0 / 1.375 GB, free: 3.367 MB / 1.061 GB Notification: Performance of Templates: time 0.006456/0.3979, allocations: 3.49 MB / 1.378 GB, free: 15.91 MB / 1.076 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.337240535765886]