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.0008718/0.0008718, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008475/0.0008475, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8505/0.8505, allocations: 177.1 MB / 203.5 MB, free: 5.41 MB / 186.7 MB " [Timeout remaining time 179] 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 1.708/1.708, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.425e-06/2.425e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/3.015e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001604/0.001634, allocations: 0.5402 MB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.001789, allocations: 11.98 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.001825, allocations: 0 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.001845, allocations: 0 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.00202, allocations: 7.875 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.919e-06/0.002025, allocations: 0 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.286e-05/0.002098, allocations: 7.984 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/0.00215, allocations: 0 / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.002217, allocations: 7.984 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.002265, allocations: 3.938 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.002284, allocations: 4 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-06/0.002291, allocations: 0 / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.002306, allocations: 4 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.002321, allocations: 0 / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 6.733e-05/0.002389, allocations: 7.922 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.002391, allocations: 0 / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.804e-06/0.002393, allocations: 0 / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.002398, allocations: 0 / 1.001 GB, free: 12.42 MB / 0.9636 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.0003128/0.002711, allocations: 238.5 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.002766, allocations: 8.75 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.0028, allocations: 0.9375 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.45e-05/0.002895, allocations: 105.8 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.002907, allocations: 4.375 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.002919, allocations: 4.359 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.003038, allocations: 47.92 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.003047, allocations: 192 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.003058, allocations: 384 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.003065, allocations: 384 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.753e-05/0.003092, allocations: 7.938 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.003242, allocations: 110.2 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.116e-05/0.003303, allocations: 45.12 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.003327, allocations: 9.719 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.003356, allocations: 4.062 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.003384, allocations: 34.56 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.003385, allocations: 0 / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001617/0.003547, allocations: 41.62 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.003598, allocations: 85.05 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.514e-05/0.003663, allocations: 97.8 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.00368, allocations: 26.08 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.003707, allocations: 88.08 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.00374, allocations: 11.89 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.003771, allocations: 9.719 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.003884, allocations: 318.8 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.003899, allocations: 4 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.003917, allocations: 13.72 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.003954, allocations: 13.72 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.003956, allocations: 0 / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.502e-05/0.004031, allocations: 53.64 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.004047, allocations: 8 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.004054, allocations: 0 / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.004067, allocations: 0 / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.00415, allocations: 4 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.004157, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.004174, allocations: 3.938 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.004185, allocations: 7.984 kB / 1.003 GB, free: 10.83 MB / 0.9636 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.118e-05/0.004256, allocations: 109.8 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-06/0.004263, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.004382, allocations: 52.75 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.004386, allocations: 4 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.004391, allocations: 0 / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.004398, allocations: 7.922 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.593e-05/0.004474, allocations: 101.3 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.004475, allocations: 0 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.004499, allocations: 7.938 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.004501, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.004507, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.004509, allocations: 4 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.00451, allocations: 8 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.004593, allocations: 69.92 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.004632, allocations: 4 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.004642, allocations: 0 / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.225e-05/0.004655, allocations: 0 / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.004674, allocations: 7.984 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.004677, allocations: 0 / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.166e-05/0.004709, allocations: 79.22 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.004709, allocations: 3.938 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002121/0.004921, allocations: 8.125 kB / 1.003 GB, free: 10.3 MB / 0.9636 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 9.421e-05/0.005015, allocations: 91.25 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.412e-05/0.005099, allocations: 8 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.005101, allocations: 0 / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/0.005111, allocations: 11.92 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.005272, allocations: 9.5 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.0055, allocations: 115.4 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.013e-05/0.00555, allocations: 63.59 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.005578, allocations: 12.5 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.005579, allocations: 0 / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of Templates: time 0.001671/0.00725, allocations: 368.6 kB / 1.004 GB, free: 9.578 MB / 0.9636 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: 6.220588819123805]