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.001528/0.001528, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001904/0.001904, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.581/1.581, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.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 3.19/3.19, allocations: 0.4899 GB / 0.7915 GB, free: 33.45 MB / 0.6231 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: 70.05 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2192/0.5792, allocations: 164.9 MB / 1.482 GB, free: 13.23 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003432/0.5826, allocations: 1.706 MB / 1.484 GB, free: 11.52 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.5829, allocations: 15.81 kB / 1.484 GB, free: 11.5 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.5835, allocations: 163 kB / 1.484 GB, free: 11.34 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.5849, allocations: 0.5367 MB / 1.485 GB, free: 10.8 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.5862, allocations: 424.1 kB / 1.485 GB, free: 10.39 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.5874, allocations: 0.5693 MB / 1.486 GB, free: 9.82 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.5877, allocations: 148.5 kB / 1.486 GB, free: 9.672 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.589, allocations: 490.2 kB / 1.486 GB, free: 9.191 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.5893, allocations: 155.2 kB / 1.486 GB, free: 9.039 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.5893, allocations: 19.94 kB / 1.486 GB, free: 9.02 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.5906, allocations: 0.7132 MB / 1.487 GB, free: 8.305 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.5908, allocations: 79.73 kB / 1.487 GB, free: 8.227 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.5909, allocations: 115.4 kB / 1.487 GB, free: 8.113 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0008984/0.5918, allocations: 0.4904 MB / 1.488 GB, free: 7.621 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5918, allocations: 7.938 kB / 1.488 GB, free: 7.613 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5918, allocations: 4 kB / 1.488 GB, free: 7.609 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.5918, allocations: 0 / 1.488 GB, free: 7.609 MB / 1.186 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.001097/0.5929, allocations: 0.5911 MB / 1.488 GB, free: 6.969 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.593, allocations: 11.98 kB / 1.488 GB, free: 6.957 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/0.5933, allocations: 59.77 kB / 1.488 GB, free: 6.898 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/0.5941, allocations: 310.3 kB / 1.489 GB, free: 6.559 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.5941, allocations: 8 kB / 1.489 GB, free: 6.551 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.5942, allocations: 16 kB / 1.489 GB, free: 6.535 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/0.5948, allocations: 200.5 kB / 1.489 GB, free: 6.324 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5948, allocations: 0 / 1.489 GB, free: 6.324 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.5948, allocations: 4 kB / 1.489 GB, free: 6.32 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.5948, allocations: 8 kB / 1.489 GB, free: 6.312 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.5951, allocations: 131.8 kB / 1.489 GB, free: 6.184 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.5965, allocations: 0.7849 MB / 1.49 GB, free: 5.328 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.5968, allocations: 82.41 kB / 1.49 GB, free: 5.238 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.597, allocations: 68.88 kB / 1.49 GB, free: 5.168 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.5973, allocations: 194.2 kB / 1.49 GB, free: 4.941 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.5973, allocations: 30.56 kB / 1.49 GB, free: 4.902 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.5973, allocations: 0 / 1.49 GB, free: 4.902 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.000755/0.5981, allocations: 233.3 kB / 1.49 GB, free: 4.668 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.5981, allocations: 51.41 kB / 1.49 GB, free: 4.605 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.5985, allocations: 267 kB / 1.491 GB, free: 4.332 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.5985, allocations: 33.7 kB / 1.491 GB, free: 4.293 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.5987, allocations: 144 kB / 1.491 GB, free: 4.148 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.5987, allocations: 39.62 kB / 1.491 GB, free: 4.109 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.5988, allocations: 30.09 kB / 1.491 GB, free: 4.074 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002618/0.5991, allocations: 334.8 kB / 1.491 GB, free: 3.738 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.5992, allocations: 48.77 kB / 1.491 GB, free: 3.688 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.5994, allocations: 97.03 kB / 1.491 GB, free: 3.574 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.5997, allocations: 119.3 kB / 1.492 GB, free: 3.445 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5997, allocations: 0 / 1.492 GB, free: 3.445 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005363/0.6002, allocations: 157.4 kB / 1.492 GB, free: 3.285 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.6003, allocations: 6.5 kB / 1.492 GB, free: 3.281 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.6003, allocations: 4 kB / 1.492 GB, free: 3.277 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.6003, allocations: 3.938 kB / 1.492 GB, free: 3.273 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.6004, allocations: 31.95 kB / 1.492 GB, free: 3.242 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.6005, allocations: 4 kB / 1.492 GB, free: 3.238 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.6006, allocations: 15.94 kB / 1.492 GB, free: 3.223 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.6007, allocations: 7.984 kB / 1.492 GB, free: 3.215 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002253/0.6009, allocations: 146.3 kB / 1.492 GB, free: 3.07 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001969/0.6011, allocations: 93.11 kB / 1.492 GB, free: 2.961 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002832/0.6014, allocations: 123.4 kB / 1.492 GB, free: 2.828 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.6014, allocations: 3.984 kB / 1.492 GB, free: 2.824 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003514/0.6017, allocations: 157.4 kB / 1.492 GB, free: 2.664 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.6017, allocations: 11.98 kB / 1.492 GB, free: 2.652 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.6017, allocations: 0 / 1.492 GB, free: 2.652 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-06/0.6017, allocations: 0 / 1.492 GB, free: 2.652 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.6019, allocations: 23.92 kB / 1.492 GB, free: 2.629 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6019, allocations: 4 kB / 1.492 GB, free: 2.625 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.6021, allocations: 19.92 kB / 1.492 GB, free: 2.605 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.6021, allocations: 7.938 kB / 1.492 GB, free: 2.598 MB / 1.186 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.0001759/0.6022, allocations: 192.2 kB / 1.492 GB, free: 2.402 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.6023, allocations: 23.86 kB / 1.493 GB, free: 2.379 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.6027, allocations: 159.7 kB / 1.493 GB, free: 2.215 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.6027, allocations: 0 / 1.493 GB, free: 2.215 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.6027, allocations: 4 kB / 1.493 GB, free: 2.211 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6027, allocations: 7.922 kB / 1.493 GB, free: 2.203 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.6039, allocations: 0.5901 MB / 1.493 GB, free: 1.535 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6039, allocations: 7.938 kB / 1.493 GB, free: 1.527 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.604, allocations: 24.2 kB / 1.493 GB, free: 1.504 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.604, allocations: 4 kB / 1.493 GB, free: 1.5 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.604, allocations: 4 kB / 1.493 GB, free: 1.496 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.604, allocations: 3.938 kB / 1.493 GB, free: 1.492 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.604, allocations: 4 kB / 1.493 GB, free: 1.488 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.6045, allocations: 301.2 kB / 1.494 GB, free: 1.156 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.6046, allocations: 112.9 kB / 1.494 GB, free: 1.027 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.6046, allocations: 7.984 kB / 1.494 GB, free: 1.02 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.6048, allocations: 11.98 kB / 1.494 GB, free: 1.008 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.6049, allocations: 19.88 kB / 1.494 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.6049, allocations: 4 kB / 1.494 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002202/0.6051, allocations: 197.9 kB / 1.494 GB, free: 0.793 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6051, allocations: 0 / 1.494 GB, free: 0.793 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005012/0.6056, allocations: 95.83 kB / 1.494 GB, free: 0.6992 MB / 1.186 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.0003504/0.6059, allocations: 155.3 kB / 1.494 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.6065, allocations: 163.8 kB / 1.494 GB, free: 388 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6065, allocations: 3.938 kB / 1.494 GB, free: 384 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.6066, allocations: 63.89 kB / 1.494 GB, free: 320 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.6074, allocations: 109.4 kB / 1.494 GB, free: 212 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.6084, allocations: 452.7 kB / 1.495 GB, free: 15.71 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.609, allocations: 0.7558 MB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000271/0.6093, allocations: 70.88 kB / 1.496 GB, free: 14.86 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.6093, allocations: 19.44 kB / 1.496 GB, free: 14.84 MB / 1.201 GB Notification: Performance of SimCode: time 4.41e-07/0.6093, allocations: 3.938 kB / 1.496 GB, free: 14.84 MB / 1.201 GB Notification: Performance of Templates: time 0.011/0.6203, allocations: 4.442 MB / 1.5 GB, free: 10.46 MB / 1.201 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 -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/jenkins/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.502048327121884]