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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,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=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007428/0.007428, allocations: 101.3 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 186.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.11 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3778, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003045/0.3809, allocations: 1.647 MB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.3831, allocations: 1.486 MB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.3832, allocations: 0 / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.3837, allocations: 55.77 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.3839, allocations: 63.67 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.3842, allocations: 95.69 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.3844, allocations: 171.6 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.3845, allocations: 8.219 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.3846, allocations: 67.7 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.3848, allocations: 65.86 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.3848, allocations: 12 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.3849, allocations: 63.98 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.801e-05/0.385, allocations: 47.83 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.3851, allocations: 59.66 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.3854, allocations: 203.3 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3854, allocations: 3.938 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3854, allocations: 0 / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3854, allocations: 0 / 1.212 GB, free: 5.566 MB / 0.9669 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.00071/0.3862, allocations: 466.6 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3862, allocations: 8.031 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.3863, allocations: 20.73 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.3867, allocations: 267.9 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3867, allocations: 384 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.3868, allocations: 12.06 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.387, allocations: 123.3 kB / 1.213 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.387, allocations: 0 / 1.213 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.387, allocations: 0 / 1.213 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.3871, allocations: 4 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.3873, allocations: 139.9 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.3876, allocations: 225.6 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.388, allocations: 182.4 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3881, allocations: 56.78 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.3881, allocations: 7.984 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.3884, allocations: 107.4 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3884, allocations: 0 / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005151/0.3889, allocations: 228 kB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.389, allocations: 81.11 kB / 1.214 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.3892, allocations: 204.1 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.3892, allocations: 29.7 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.3893, allocations: 112.2 kB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.3894, allocations: 59.22 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.3894, allocations: 37.7 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3895, allocations: 322.8 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.3897, allocations: 51.97 kB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3898, allocations: 70.55 kB / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.39, allocations: 125.6 kB / 1.214 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.39, allocations: 0 / 1.214 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003216/0.3903, allocations: 199.3 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3904, allocations: 11.94 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3904, allocations: 0 / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3904, allocations: 0 / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3905, allocations: 23.98 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3905, allocations: 4 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.3906, allocations: 0 / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.3906, allocations: 12 kB / 1.215 GB, free: 2.188 MB / 0.9669 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.0001321/0.3908, allocations: 150.8 kB / 1.215 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.3908, allocations: 15.81 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.3909, allocations: 21.53 kB / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3909, allocations: 4 kB / 1.215 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3909, allocations: 0 / 1.215 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.3909, allocations: 3.984 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.3911, allocations: 241.3 kB / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3911, allocations: 0 / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.3912, allocations: 16 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3912, allocations: 3.984 kB / 1.215 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3912, allocations: 15.98 kB / 1.215 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3912, allocations: 0 / 1.215 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3912, allocations: 3.984 kB / 1.215 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.3916, allocations: 216.8 kB / 1.215 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.3916, allocations: 88.92 kB / 1.215 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.3917, allocations: 4 kB / 1.215 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.875e-05/0.3917, allocations: 8 kB / 1.215 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.3918, allocations: 11.92 kB / 1.215 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.3918, allocations: 15.98 kB / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001285/0.3919, allocations: 144.5 kB / 1.216 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3919, allocations: 0 / 1.216 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002534/0.3922, allocations: 35.98 kB / 1.216 GB, free: 1.113 MB / 0.9669 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.001116/0.3933, allocations: 453.5 kB / 1.216 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.3936, allocations: 123.9 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3936, allocations: 0 / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.3938, allocations: 67.16 kB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.3941, allocations: 37.62 kB / 1.216 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.3947, allocations: 297 kB / 1.217 GB, free: 308 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.395, allocations: 0.7241 MB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.3952, allocations: 41.52 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.3952, allocations: 39.41 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3952, allocations: 0 / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of Templates: time 0.006208/0.4015, allocations: 2.521 MB / 1.22 GB, free: 13 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches