Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.001823/0.001823, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.002295/0.002295, allocations: 162 kB / 23.01 MB, free: 4.965 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.511/1.511, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.892/2.892, 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.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [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.002103/0.002103, allocations: 71.83 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 176.1 MB / 1.154 GB, free: 33.27 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2177/1.339, allocations: 142.3 MB / 1.293 GB, free: 1.352 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003637/1.343, allocations: 1.604 MB / 1.294 GB, free: 292 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/1.343, allocations: 14.47 kB / 1.294 GB, free: 284 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006716/1.344, allocations: 158.1 kB / 1.295 GB, free: 188 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/1.345, allocations: 0.5126 MB / 1.295 GB, free: 15.92 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/1.347, allocations: 436.8 kB / 1.296 GB, free: 15.71 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001016/1.348, allocations: 0.5786 MB / 1.296 GB, free: 15.46 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/1.348, allocations: 135.8 kB / 1.296 GB, free: 15.4 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/1.349, allocations: 0.4924 MB / 1.297 GB, free: 15.18 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/1.349, allocations: 149 kB / 1.297 GB, free: 15.12 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/1.349, allocations: 13.09 kB / 1.297 GB, free: 15.12 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/1.351, allocations: 0.565 MB / 1.297 GB, free: 14.95 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/1.351, allocations: 79.62 kB / 1.298 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/1.351, allocations: 100 kB / 1.298 GB, free: 14.86 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0009242/1.352, allocations: 488 kB / 1.298 GB, free: 14.7 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.352, allocations: 0 / 1.298 GB, free: 14.7 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.435e-06/1.352, allocations: 0.6094 kB / 1.298 GB, free: 14.7 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.665e-06/1.352, allocations: 0 / 1.298 GB, free: 14.7 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009707/1.353, allocations: 0.5274 MB / 1.299 GB, free: 14.27 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.353, allocations: 9 kB / 1.299 GB, free: 14.27 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004767/1.353, allocations: 61.22 kB / 1.299 GB, free: 14.24 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/1.354, allocations: 239.5 kB / 1.299 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/1.354, allocations: 10.22 kB / 1.299 GB, free: 14.05 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/1.354, allocations: 14.94 kB / 1.299 GB, free: 14.05 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/1.354, allocations: 222.8 kB / 1.299 GB, free: 13.91 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.354, allocations: 0 / 1.299 GB, free: 13.91 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/1.354, allocations: 5.375 kB / 1.299 GB, free: 13.91 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/1.354, allocations: 3.531 kB / 1.299 GB, free: 13.91 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/1.355, allocations: 130.5 kB / 1.299 GB, free: 13.88 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/1.356, allocations: 0.6295 MB / 1.3 GB, free: 13.39 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/1.356, allocations: 77.7 kB / 1.3 GB, free: 13.35 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/1.356, allocations: 72.28 kB / 1.3 GB, free: 13.33 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/1.357, allocations: 37.86 kB / 1.3 GB, free: 13.32 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/1.357, allocations: 32.61 kB / 1.3 GB, free: 13.28 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/1.357, allocations: 1.219 kB / 1.3 GB, free: 13.28 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0007301/1.357, allocations: 219.7 kB / 1.3 GB, free: 13.17 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/1.357, allocations: 61.97 kB / 1.3 GB, free: 13.1 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/1.358, allocations: 226.9 kB / 1.301 GB, free: 12.94 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/1.358, allocations: 31.73 kB / 1.301 GB, free: 12.9 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/1.358, allocations: 152.2 kB / 1.301 GB, free: 12.76 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/1.358, allocations: 36.8 kB / 1.301 GB, free: 12.73 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/1.358, allocations: 28.36 kB / 1.301 GB, free: 12.71 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.358, allocations: 332 kB / 1.301 GB, free: 12.38 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/1.358, allocations: 46.95 kB / 1.301 GB, free: 12.35 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/1.359, allocations: 217.4 kB / 1.301 GB, free: 12.12 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/1.359, allocations: 132.1 kB / 1.301 GB, free: 12.04 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.359, allocations: 0 / 1.301 GB, free: 12.04 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000372/1.359, allocations: 156 kB / 1.302 GB, free: 11.94 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.359, allocations: 9.875 kB / 1.302 GB, free: 11.94 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.359, allocations: 1.156 kB / 1.302 GB, free: 11.94 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.359, allocations: 1.125 kB / 1.302 GB, free: 11.94 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/1.359, allocations: 24.7 kB / 1.302 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.359, allocations: 5.375 kB / 1.302 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/1.36, allocations: 20.12 kB / 1.302 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/1.36, allocations: 8.281 kB / 1.302 GB, free: 11.91 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002254/1.36, allocations: 146.3 kB / 1.302 GB, free: 11.8 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002537/1.36, allocations: 224.2 kB / 1.302 GB, free: 11.56 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002663/1.36, allocations: 114.2 kB / 1.302 GB, free: 11.49 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/1.36, allocations: 4 kB / 1.302 GB, free: 11.48 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003701/1.361, allocations: 156 kB / 1.302 GB, free: 11.39 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/1.361, allocations: 5.875 kB / 1.302 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/1.361, allocations: 0.8438 kB / 1.302 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.07e-06/1.361, allocations: 6.484 kB / 1.302 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/1.361, allocations: 20.27 kB / 1.302 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.361, allocations: 5 kB / 1.302 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/1.361, allocations: 20.62 kB / 1.302 GB, free: 11.37 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/1.361, allocations: 4.062 kB / 1.302 GB, free: 11.37 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001401/1.361, allocations: 189.1 kB / 1.303 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/1.361, allocations: 25.48 kB / 1.303 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/1.362, allocations: 159.8 kB / 1.303 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.362, allocations: 4.906 kB / 1.303 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.362, allocations: 1.125 kB / 1.303 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.362, allocations: 0 / 1.303 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000997/1.363, allocations: 0.5198 MB / 1.303 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.363, allocations: 2.781 kB / 1.303 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/1.363, allocations: 25.36 kB / 1.303 GB, free: 10.61 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.363, allocations: 3 kB / 1.303 GB, free: 10.61 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/1.363, allocations: 10.19 kB / 1.303 GB, free: 10.6 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.363, allocations: 3.188 kB / 1.303 GB, free: 10.6 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.363, allocations: 1.219 kB / 1.303 GB, free: 10.6 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/1.363, allocations: 294.4 kB / 1.304 GB, free: 10.35 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/1.363, allocations: 31.31 kB / 1.304 GB, free: 10.33 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/1.363, allocations: 3.188 kB / 1.304 GB, free: 10.33 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.364, allocations: 19.27 kB / 1.304 GB, free: 10.32 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/1.364, allocations: 17.48 kB / 1.304 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/1.364, allocations: 9.094 kB / 1.304 GB, free: 10.3 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001744/1.364, allocations: 165.6 kB / 1.304 GB, free: 10.18 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.364, allocations: 1.188 kB / 1.304 GB, free: 10.18 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005174/1.364, allocations: 109.3 kB / 1.304 GB, free: 10.15 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0003009/1.365, allocations: 144 kB / 1.304 GB, free: 10.04 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005443/1.365, allocations: 167.9 kB / 1.304 GB, free: 9.961 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.365, allocations: 1.094 kB / 1.304 GB, free: 9.961 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/1.365, allocations: 64.27 kB / 1.304 GB, free: 9.93 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/1.366, allocations: 98.34 kB / 1.304 GB, free: 9.875 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007917/1.367, allocations: 434.5 kB / 1.305 GB, free: 9.539 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/1.367, allocations: 155.2 kB / 1.305 GB, free: 9.422 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001873/1.367, allocations: 61.92 kB / 1.305 GB, free: 9.395 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/1.367, allocations: 24.72 kB / 1.305 GB, free: 9.383 MB / 1.154 GB Notification: Performance of SimCode: time 3.3e-07/1.367, allocations: 0 / 1.305 GB, free: 9.383 MB / 1.154 GB Notification: Performance of Templates: time 0.009844/1.377, allocations: 3.943 MB / 1.309 GB, free: 7.406 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.821822842000984]