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.002297/0.002297, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002845/0.002845, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.694/1.694, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.518/3.518, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.547e-05, allocations: 2.844 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003755/0.00379, allocations: 1.689 MB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003011/0.006801, allocations: 1.707 MB / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.006885, allocations: 0 / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.007387, allocations: 60.94 kB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004539/0.007841, allocations: 103.4 kB / 0.8809 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.008031, allocations: 71.67 kB / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.008336, allocations: 189.4 kB / 0.8812 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.008374, allocations: 4 kB / 0.8812 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.008534, allocations: 87.73 kB / 0.8813 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.008707, allocations: 63.86 kB / 0.8813 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.008742, allocations: 12 kB / 0.8814 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.008959, allocations: 107.4 kB / 0.8815 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.693e-05/0.009056, allocations: 51.83 kB / 0.8815 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.13e-05/0.009137, allocations: 43.84 kB / 0.8815 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.009571, allocations: 259.1 kB / 0.8818 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.009575, allocations: 0 / 0.8818 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.857e-06/0.009579, allocations: 4 kB / 0.8818 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.009584, allocations: 0 / 0.8818 GB, free: 2.195 MB / 0.8386 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.0008336/0.01042, allocations: 0.5223 MB / 0.8823 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.01046, allocations: 8.031 kB / 0.8823 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/0.01055, allocations: 29.77 kB / 0.8823 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.011, allocations: 209.2 kB / 0.8825 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.01102, allocations: 1.406 kB / 0.8825 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.01104, allocations: 8.375 kB / 0.8826 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.01133, allocations: 151.1 kB / 0.8827 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.01135, allocations: 5.062 kB / 0.8827 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.01136, allocations: 0 / 0.8827 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.01137, allocations: 0 / 0.8827 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.01171, allocations: 160.9 kB / 0.8829 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.01202, allocations: 184.5 kB / 0.883 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.01256, allocations: 176 kB / 0.8832 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.01269, allocations: 43.67 kB / 0.8832 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.01271, allocations: 0.5938 kB / 0.8832 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.01297, allocations: 124.2 kB / 0.8834 GB, free: 464 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.01298, allocations: 0.875 kB / 0.8834 GB, free: 464 kB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0005754/0.01355, allocations: 205.4 kB / 0.8836 GB, free: 252 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.01364, allocations: 82.2 kB / 0.8836 GB, free: 152 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.01398, allocations: 281.6 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.01401, allocations: 29.7 kB / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.01414, allocations: 167.9 kB / 0.8841 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/0.01422, allocations: 51.62 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.01429, allocations: 40.45 kB / 0.8842 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003185/0.01461, allocations: 0.508 MB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.01472, allocations: 43.91 kB / 0.8847 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.01487, allocations: 101.4 kB / 0.8848 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.01509, allocations: 112.3 kB / 0.8849 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.0151, allocations: 4 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003601/0.01546, allocations: 186.1 kB / 0.8851 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.01548, allocations: 6.656 kB / 0.8851 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.01549, allocations: 11.44 kB / 0.8851 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.0155, allocations: 0 / 0.8851 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.01566, allocations: 31.91 kB / 0.8851 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01566, allocations: 0 / 0.8851 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.01573, allocations: 11.89 kB / 0.8852 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.01575, allocations: 8 kB / 0.8852 GB, free: 14.51 MB / 0.8542 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.0001555/0.01591, allocations: 165.1 kB / 0.8853 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.01596, allocations: 23.91 kB / 0.8853 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.01649, allocations: 247.5 kB / 0.8856 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.01651, allocations: 7.938 kB / 0.8856 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01651, allocations: 4.578 kB / 0.8856 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01652, allocations: 0.8125 kB / 0.8856 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.01679, allocations: 204.5 kB / 0.8858 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01679, allocations: 0.8438 kB / 0.8858 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.01691, allocations: 31.98 kB / 0.8858 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01691, allocations: 0 / 0.8858 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.01693, allocations: 9.531 kB / 0.8858 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01693, allocations: 0 / 0.8858 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.01693, allocations: 3.938 kB / 0.8858 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.01743, allocations: 269.8 kB / 0.8861 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.01748, allocations: 27.86 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.01753, allocations: 7.984 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.01759, allocations: 8 kB / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.01765, allocations: 19.91 kB / 0.8862 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.01767, allocations: 4 kB / 0.8862 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001965/0.01787, allocations: 196.5 kB / 0.8863 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01787, allocations: 0 / 0.8863 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002868/0.01816, allocations: 55.92 kB / 0.8864 GB, free: 13.18 MB / 0.8542 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.003352/0.02151, allocations: 0.5447 MB / 0.8869 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.02184, allocations: 126.9 kB / 0.8871 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02184, allocations: 0 / 0.8871 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.02201, allocations: 92.59 kB / 0.8871 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.02233, allocations: 48.97 kB / 0.8872 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.02305, allocations: 330.7 kB / 0.8875 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.02319, allocations: 120 kB / 0.8876 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.02331, allocations: 53.95 kB / 0.8877 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.02342, allocations: 36.48 kB / 0.8877 GB, free: 12 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.02342, allocations: 0 / 0.8877 GB, free: 12 MB / 0.8542 GB Notification: Performance of Templates: time 0.008867/0.03229, allocations: 3.463 MB / 0.8911 GB, free: 8.598 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] 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: 9.28015860891901]