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.001729/0.001729, allocations: 84.73 kB / 19.44 MB, free: 360 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.002065/0.002065, allocations: 157.7 kB / 22.76 MB, free: 1.684 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.61/1.61, allocations: 177.2 MB / 203.1 MB, free: 5.609 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.315/3.315, allocations: 429.6 MB / 0.673 GB, free: 3.875 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.926e-06/2.926e-06, allocations: 0 / 0.8776 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.361e-05/4.654e-05, allocations: 9.406 kB / 0.8776 GB, free: 5.297 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.005119/0.005165, allocations: 1.672 MB / 0.8793 GB, free: 3.637 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003796/0.008961, allocations: 1.686 MB / 0.8809 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.009092, allocations: 4 kB / 0.8809 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.009735, allocations: 47.7 kB / 0.881 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.01025, allocations: 103.5 kB / 0.881 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.01062, allocations: 75.61 kB / 0.8811 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.01101, allocations: 179.6 kB / 0.8813 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.553e-05/0.01108, allocations: 11.92 kB / 0.8813 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.0113, allocations: 88.69 kB / 0.8814 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.01152, allocations: 63.8 kB / 0.8814 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.01158, allocations: 13.06 kB / 0.8815 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.01187, allocations: 103.9 kB / 0.8816 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.01199, allocations: 51.83 kB / 0.8816 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 9.132e-05/0.01208, allocations: 41 kB / 0.8816 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.01267, allocations: 267.1 kB / 0.8819 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.01268, allocations: 0 / 0.8819 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.082e-06/0.01268, allocations: 1.594 kB / 0.8819 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.01269, allocations: 0 / 0.8819 GB, free: 0.9258 MB / 0.7917 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.0009718/0.01366, allocations: 424.9 kB / 0.8823 GB, free: 492 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.01371, allocations: 15.97 kB / 0.8823 GB, free: 476 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.01382, allocations: 18.38 kB / 0.8823 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.01437, allocations: 218.4 kB / 0.8826 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.01439, allocations: 4.375 kB / 0.8826 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.01442, allocations: 16.3 kB / 0.8826 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.01477, allocations: 148.6 kB / 0.8827 GB, free: 28 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.01479, allocations: 3.938 kB / 0.8827 GB, free: 24 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.01481, allocations: 8 kB / 0.8827 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.01482, allocations: 0 / 0.8827 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.01523, allocations: 187.8 kB / 0.8829 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.01558, allocations: 177.2 kB / 0.8831 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.01614, allocations: 199.1 kB / 0.8833 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.01629, allocations: 62.47 kB / 0.8833 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.01631, allocations: 4 kB / 0.8833 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.01661, allocations: 115.3 kB / 0.8834 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.01661, allocations: 4 kB / 0.8834 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0007056/0.01731, allocations: 270.7 kB / 0.8837 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.0174, allocations: 81.11 kB / 0.8838 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.01773, allocations: 227 kB / 0.884 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.01777, allocations: 33.7 kB / 0.884 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01787, allocations: 112.1 kB / 0.8841 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/0.01795, allocations: 51.61 kB / 0.8842 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.01803, allocations: 33.7 kB / 0.8842 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.01824, allocations: 326.8 kB / 0.8845 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.0184, allocations: 63.95 kB / 0.8846 GB, free: 14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.01858, allocations: 104.2 kB / 0.8847 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.0189, allocations: 143.3 kB / 0.8848 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.0189, allocations: 4 kB / 0.8848 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004851/0.01938, allocations: 225.6 kB / 0.885 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.0194, allocations: 8 kB / 0.885 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.01941, allocations: 3.938 kB / 0.8851 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/0.01944, allocations: 3.984 kB / 0.8851 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.0196, allocations: 31.92 kB / 0.8851 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.01961, allocations: 4 kB / 0.8851 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.01969, allocations: 11.95 kB / 0.8851 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.01971, allocations: 4 kB / 0.8851 GB, free: 13.44 MB / 0.8073 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.000159/0.01987, allocations: 129.8 kB / 0.8852 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.01993, allocations: 31.92 kB / 0.8853 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006428/0.02058, allocations: 288.7 kB / 0.8855 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.02058, allocations: 3.938 kB / 0.8855 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.02059, allocations: 0 / 0.8855 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.02059, allocations: 0 / 0.8855 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.02088, allocations: 193.1 kB / 0.8857 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.02089, allocations: 3.984 kB / 0.8857 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.02102, allocations: 35.92 kB / 0.8858 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.02103, allocations: 0 / 0.8858 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.02105, allocations: 11.98 kB / 0.8858 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.02106, allocations: 4 kB / 0.8858 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.02106, allocations: 3.938 kB / 0.8858 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.02166, allocations: 285.8 kB / 0.8861 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.02171, allocations: 23.86 kB / 0.8861 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.02176, allocations: 4 kB / 0.8861 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.02183, allocations: 7.984 kB / 0.8861 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.0219, allocations: 19.92 kB / 0.8861 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.02192, allocations: 7.984 kB / 0.8861 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002336/0.02216, allocations: 164.6 kB / 0.8863 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.02216, allocations: 0 / 0.8863 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003399/0.0225, allocations: 67.8 kB / 0.8863 GB, free: 12.11 MB / 0.8073 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.00254/0.02504, allocations: 0.5455 MB / 0.8869 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004111/0.02545, allocations: 145.7 kB / 0.887 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02545, allocations: 0 / 0.887 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.02565, allocations: 91.83 kB / 0.8871 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.026, allocations: 46.22 kB / 0.8871 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.02682, allocations: 351 kB / 0.8875 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.027, allocations: 132 kB / 0.8876 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.02715, allocations: 49.91 kB / 0.8876 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.02726, allocations: 36.48 kB / 0.8877 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of SimCode: time 8.82e-07/0.02726, allocations: 0 / 0.8877 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of Templates: time 0.01021/0.03747, allocations: 3.477 MB / 0.8911 GB, free: 7.496 MB / 0.8073 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: 8.662021273048595]