Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001509/0.001509, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001798/0.001798, allocations: 156.2 kB / 23.01 MB, free: 4.602 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.631/1.631, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.827/2.827, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002136/0.002136, allocations: 67.89 kB / 0.982 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.087, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003308/1.09, allocations: 1.658 MB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002155/1.092, allocations: 1.664 MB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/1.092, allocations: 6.625 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004793/1.093, allocations: 57.11 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002529/1.093, allocations: 101.1 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/1.093, allocations: 75.33 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00025/1.094, allocations: 184 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/1.094, allocations: 5.719 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/1.094, allocations: 67.36 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/1.094, allocations: 78.23 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/1.094, allocations: 11.22 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/1.094, allocations: 115 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.173e-05/1.094, allocations: 53.08 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/1.094, allocations: 52.06 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003573/1.095, allocations: 247.1 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.095, allocations: 0 / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.655e-06/1.095, allocations: 0 / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.856e-06/1.095, allocations: 0 / 1.158 GB, free: 30.57 MB / 1.076 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.0007401/1.095, allocations: 419.5 kB / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.095, allocations: 8.969 kB / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/1.095, allocations: 21.39 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/1.096, allocations: 196 kB / 1.159 GB, free: 30.03 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/1.096, allocations: 8.375 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/1.096, allocations: 9.031 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/1.096, allocations: 156 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.096, allocations: 2.844 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/1.096, allocations: 3.938 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.096, allocations: 0 / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/1.096, allocations: 188.1 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/1.097, allocations: 172.6 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/1.097, allocations: 198.4 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/1.097, allocations: 69.27 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/1.097, allocations: 0 / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/1.097, allocations: 126.5 kB / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/1.097, allocations: 0 / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0005075/1.098, allocations: 258.9 kB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/1.098, allocations: 83.98 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/1.098, allocations: 250.7 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/1.098, allocations: 32.7 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/1.098, allocations: 109.3 kB / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/1.098, allocations: 51.22 kB / 1.16 GB, free: 29.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/1.098, allocations: 35.53 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/1.099, allocations: 325 kB / 1.161 GB, free: 28.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/1.099, allocations: 61.39 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/1.099, allocations: 108.3 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/1.099, allocations: 151 kB / 1.161 GB, free: 28.53 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.099, allocations: 0 / 1.161 GB, free: 28.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000306/1.099, allocations: 229.5 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/1.099, allocations: 2.938 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/1.099, allocations: 6.938 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.099, allocations: 0 / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/1.099, allocations: 31.08 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.099, allocations: 2.844 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/1.099, allocations: 10.83 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/1.099, allocations: 9.969 kB / 1.161 GB, free: 28.41 MB / 1.076 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.0001139/1.1, allocations: 132.5 kB / 1.161 GB, free: 28.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/1.1, allocations: 20.94 kB / 1.162 GB, free: 28.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/1.1, allocations: 285.4 kB / 1.162 GB, free: 28.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/1.1, allocations: 2.688 kB / 1.162 GB, free: 28.15 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.1, allocations: 0 / 1.162 GB, free: 28.15 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.1, allocations: 0 / 1.162 GB, free: 28.15 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/1.1, allocations: 193 kB / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.1, allocations: 0 / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/1.1, allocations: 33.39 kB / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.1, allocations: 6.812 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/1.1, allocations: 6.906 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.1, allocations: 0 / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/1.1, allocations: 0 / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/1.101, allocations: 290.7 kB / 1.162 GB, free: 27.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/1.101, allocations: 21.2 kB / 1.162 GB, free: 27.82 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/1.101, allocations: 14.69 kB / 1.162 GB, free: 27.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.107e-05/1.101, allocations: 9.922 kB / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/1.101, allocations: 14.64 kB / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/1.101, allocations: 9.844 kB / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001461/1.101, allocations: 192.1 kB / 1.163 GB, free: 27.69 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.101, allocations: 0 / 1.163 GB, free: 27.69 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002853/1.101, allocations: 58.97 kB / 1.163 GB, free: 27.68 MB / 1.076 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.001953/1.103, allocations: 0.5438 MB / 1.163 GB, free: 27.44 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003325/1.104, allocations: 161.4 kB / 1.163 GB, free: 27.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.104, allocations: 0 / 1.163 GB, free: 27.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/1.104, allocations: 85.02 kB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/1.104, allocations: 37.34 kB / 1.163 GB, free: 27.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005902/1.105, allocations: 349.3 kB / 1.164 GB, free: 27.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/1.105, allocations: 123 kB / 1.164 GB, free: 27.06 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001149/1.105, allocations: 58.92 kB / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/1.105, allocations: 38.09 kB / 1.164 GB, free: 27.03 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/1.105, allocations: 0 / 1.164 GB, free: 27.03 MB / 1.076 GB Notification: Performance of Templates: time 0.006916/1.112, allocations: 3.536 MB / 1.167 GB, free: 26.52 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.55440526001621]