Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.00198/0.00198, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.002719/0.002719, allocations: 168.3 kB / 22.46 MB, free: 5.359 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.501/1.501, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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 2.929/2.929, allocations: 389 MB / 0.633 GB, free: 1.043 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.376e-05, allocations: 2.281 kB / 1 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001402/0.001426, allocations: 0.5441 MB / 1.001 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.001542, allocations: 19.91 kB / 1.001 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.001571, allocations: 3.938 kB / 1.001 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.072e-05/0.001582, allocations: 0 / 1.001 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.001699, allocations: 0 / 1.001 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.217e-06/0.001702, allocations: 0 / 1.001 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.839e-05/0.001751, allocations: 4 kB / 1.001 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.001787, allocations: 0 / 1.001 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.001843, allocations: 11.92 kB / 1.001 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.001876, allocations: 4 kB / 1.001 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.001887, allocations: 0 / 1.001 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-06/0.001893, allocations: 0 / 1.001 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.001904, allocations: 0 / 1.001 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.407e-05/0.001919, allocations: 3.984 kB / 1.001 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 3.846e-05/0.001957, allocations: 4 kB / 1.001 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.001959, allocations: 0 / 1.001 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.91e-07/0.001959, allocations: 0 / 1.001 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.001962, allocations: 0 / 1.001 GB, free: 6.766 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002749/0.002237, allocations: 238.5 kB / 1.001 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.00227, allocations: 12.03 kB / 1.001 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.002295, allocations: 4.938 kB / 1.001 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.002384, allocations: 105.7 kB / 1.001 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.002395, allocations: 384 / 1.001 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.002403, allocations: 8.312 kB / 1.001 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.002501, allocations: 47.97 kB / 1.001 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.002508, allocations: 4.125 kB / 1.001 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.002514, allocations: 384 / 1.001 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.002518, allocations: 384 / 1.001 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.289e-05/0.002541, allocations: 11.88 kB / 1.001 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.002666, allocations: 106.2 kB / 1.001 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.13e-05/0.002727, allocations: 43.12 kB / 1.001 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.887e-05/0.002746, allocations: 13.84 kB / 1.001 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.002767, allocations: 3.984 kB / 1.001 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.002795, allocations: 38.5 kB / 1.001 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.002796, allocations: 0 / 1.001 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000122/0.002918, allocations: 41.64 kB / 1.001 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.002971, allocations: 77.11 kB / 1.001 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.003041, allocations: 101.8 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.003058, allocations: 30.08 kB / 1.002 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.003092, allocations: 84.14 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.003111, allocations: 3.953 kB / 1.002 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.003143, allocations: 13.72 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.003271, allocations: 310.8 kB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.003284, allocations: 4 kB / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.633e-05/0.0033, allocations: 13.72 kB / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.003338, allocations: 25.64 kB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.003339, allocations: 0 / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.953e-05/0.003409, allocations: 49.72 kB / 1.002 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.003421, allocations: 6.344 kB / 1.002 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.003425, allocations: 4 kB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.003437, allocations: 0 / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.003499, allocations: 11.92 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.003503, allocations: 0 / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.003522, allocations: 3.938 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.003527, allocations: 0 / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.228e-05/0.003599, allocations: 110.4 kB / 1.002 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.003607, allocations: 0 / 1.002 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.003712, allocations: 52.69 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.003715, allocations: 4 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.003718, allocations: 3.938 kB / 1.002 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.003723, allocations: 3.938 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.565e-05/0.003808, allocations: 101.3 kB / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.003809, allocations: 0 / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.003835, allocations: 7.984 kB / 1.002 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.003837, allocations: 0 / 1.002 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.003842, allocations: 0 / 1.002 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.003843, allocations: 4.062 kB / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.003844, allocations: 3.938 kB / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.612e-05/0.00393, allocations: 73.92 kB / 1.002 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.003956, allocations: 3.938 kB / 1.002 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.003968, allocations: 4 kB / 1.002 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.534e-05/0.003984, allocations: 0 / 1.002 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.003995, allocations: 0 / 1.002 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.004, allocations: 4 kB / 1.002 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.004041, allocations: 79.22 kB / 1.002 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.004041, allocations: 128 / 1.002 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001804/0.004221, allocations: 4 kB / 1.002 GB, free: 4.648 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.889e-05/0.00431, allocations: 95.23 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.432e-05/0.004374, allocations: 16 kB / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.004376, allocations: 0 / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.004387, allocations: 7.938 kB / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.004517, allocations: 4 kB / 1.003 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/0.004722, allocations: 93.7 kB / 1.003 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.004765, allocations: 59.61 kB / 1.003 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.472e-05/0.004779, allocations: 0 / 1.003 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.0048, allocations: 8.5 kB / 1.003 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.0048, allocations: 4 kB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of Templates: time 0.002164/0.006964, allocations: 196.9 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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: 7.987753987312317]