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.0009542/0.0009542, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0009372/0.0009372, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.9145/0.9145, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 1.827/1.827, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.115e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00303/0.003061, allocations: 1.647 MB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.005203, allocations: 1.668 MB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.005278, allocations: 4 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.005759, allocations: 63.56 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.006031, allocations: 95.53 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.006191, allocations: 71.67 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.006425, allocations: 179.5 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.006472, allocations: 15.92 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.006605, allocations: 87.81 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.006732, allocations: 67.78 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.006762, allocations: 12 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.00695, allocations: 103.9 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.007029, allocations: 51.83 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.007088, allocations: 39.86 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.007459, allocations: 263.2 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.007462, allocations: 0 / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.432e-06/0.007463, allocations: 0 / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.007467, allocations: 0 / 1.005 GB, free: 8.609 MB / 0.9636 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.0006389/0.008106, allocations: 432.9 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.008149, allocations: 13.34 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.008216, allocations: 24.8 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.008577, allocations: 206.5 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.008593, allocations: 4.312 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.008611, allocations: 4.375 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.008872, allocations: 153.5 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.008882, allocations: 7.938 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.008898, allocations: 4 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.008903, allocations: 8 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.009201, allocations: 187.8 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002349/0.009436, allocations: 181.2 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.009878, allocations: 198.4 kB / 1.007 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.009987, allocations: 56.83 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.01001, allocations: 7.938 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.01022, allocations: 123.4 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.01022, allocations: 0 / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0005307/0.01075, allocations: 265.4 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.0108, allocations: 85.05 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.01103, allocations: 223 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.01105, allocations: 33.64 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.01112, allocations: 116.1 kB / 1.007 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.01118, allocations: 47.58 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.01123, allocations: 33.7 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.01134, allocations: 330.8 kB / 1.008 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.01145, allocations: 59.95 kB / 1.008 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.01158, allocations: 107.1 kB / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.01176, allocations: 152.4 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01176, allocations: 0 / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00023/0.01199, allocations: 217.3 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.01201, allocations: 4 kB / 1.008 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01201, allocations: 7.922 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01203, allocations: 4 kB / 1.008 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.01211, allocations: 27.92 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01211, allocations: 0 / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/0.01215, allocations: 8 kB / 1.008 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.01216, allocations: 8.031 kB / 1.008 GB, free: 5.125 MB / 0.9636 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 8.538e-05/0.01224, allocations: 140.2 kB / 1.009 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.01227, allocations: 23.84 kB / 1.009 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.01258, allocations: 282.9 kB / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.01259, allocations: 11.88 kB / 1.009 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01259, allocations: 3.938 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.0126, allocations: 0 / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.01274, allocations: 193.1 kB / 1.009 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01274, allocations: 0 / 1.009 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.0128, allocations: 39.98 kB / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.0128, allocations: 0 / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01281, allocations: 7.984 kB / 1.009 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01281, allocations: 0 / 1.009 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01282, allocations: 3.938 kB / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.01307, allocations: 287.6 kB / 1.009 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.0131, allocations: 15.86 kB / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.01312, allocations: 12 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.202e-05/0.01315, allocations: 11.98 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.01319, allocations: 15.92 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.01321, allocations: 15.98 kB / 1.009 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001052/0.01331, allocations: 168.4 kB / 1.01 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01331, allocations: 0 / 1.01 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000189/0.0135, allocations: 59.86 kB / 1.01 GB, free: 3.797 MB / 0.9636 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.0008206/0.01432, allocations: 0.5378 MB / 1.01 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.01454, allocations: 147.9 kB / 1.01 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01454, allocations: 0 / 1.01 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.01463, allocations: 87.83 kB / 1.01 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.01482, allocations: 45.08 kB / 1.01 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.01527, allocations: 379.8 kB / 1.011 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.519e-05/0.01534, allocations: 120.1 kB / 1.011 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.01541, allocations: 44.47 kB / 1.011 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of SimCode: time 6.52e-07/0.01541, allocations: 0 / 1.011 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of Templates: time 0.003665/0.01908, allocations: 3.559 MB / 1.014 GB, free: 15.08 MB / 0.9792 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/jenkins/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: 7.080340515822172]