Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 108.9 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 195.6 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 245.7 MB, free: 4.254 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 489.3 MB / 0.7687 GB, free: 3.812 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 1.103 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9266/0.9285, allocations: 163.8 MB / 1.263 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001601/0.9301, allocations: 0.543 MB / 1.263 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.9303, allocations: 43.27 kB / 1.263 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.9304, allocations: 0 / 1.263 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.9304, allocations: 1.344 kB / 1.263 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.9306, allocations: 5.234 kB / 1.263 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.574e-05/0.9306, allocations: 11.86 kB / 1.263 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.9307, allocations: 10.78 kB / 1.263 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.9308, allocations: 1.578 kB / 1.263 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.9308, allocations: 11.67 kB / 1.263 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.496e-05/0.9309, allocations: 6.953 kB / 1.263 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.9309, allocations: 1.188 kB / 1.263 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.9309, allocations: 0 / 1.263 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.931, allocations: 7.828 kB / 1.263 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.931, allocations: 6.391 kB / 1.263 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.713e-05/0.9311, allocations: 14.8 kB / 1.263 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.9311, allocations: 0.9375 kB / 1.263 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9311, allocations: 2.406 kB / 1.263 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.9311, allocations: 0 / 1.263 GB, free: 7.844 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003518/0.9315, allocations: 334.6 kB / 1.264 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.9315, allocations: 10.81 kB / 1.264 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.9315, allocations: 1.906 kB / 1.264 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.9317, allocations: 177.1 kB / 1.264 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-06/0.9317, allocations: 1.281 kB / 1.264 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.9317, allocations: 1.125 kB / 1.264 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.026e-05/0.9318, allocations: 31.89 kB / 1.264 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9318, allocations: 4.828 kB / 1.264 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.9318, allocations: 4.75 kB / 1.264 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.9318, allocations: 0 / 1.264 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.9319, allocations: 8.094 kB / 1.264 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.932, allocations: 157 kB / 1.264 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.469e-05/0.932, allocations: 23.56 kB / 1.264 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.9321, allocations: 13 kB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.9321, allocations: 0.9062 kB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.9321, allocations: 31.91 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.9321, allocations: 0 / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.9322, allocations: 48.52 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.9323, allocations: 56.28 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.9323, allocations: 117 kB / 1.264 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.9323, allocations: 25.7 kB / 1.264 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.063e-05/0.9324, allocations: 82.3 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.9324, allocations: 5.25 kB / 1.264 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.9324, allocations: 21.66 kB / 1.264 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.9325, allocations: 312.6 kB / 1.265 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.9325, allocations: 4.422 kB / 1.265 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.9325, allocations: 19.3 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.9326, allocations: 27 kB / 1.265 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9326, allocations: 1.062 kB / 1.265 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.419e-05/0.9326, allocations: 45.47 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.9327, allocations: 5.594 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.9327, allocations: 8.625 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.9327, allocations: 0.875 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.9328, allocations: 4.422 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.9328, allocations: 1.5 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.9328, allocations: 0.8438 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.9328, allocations: 2.203 kB / 1.265 GB, free: 6.211 MB / 0.9981 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 4.795e-05/0.9329, allocations: 112.7 kB / 1.265 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-06/0.9329, allocations: 1.719 kB / 1.265 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-05/0.933, allocations: 61.83 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.933, allocations: 0.7812 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.933, allocations: 0 / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.933, allocations: 1.641 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.003e-05/0.9331, allocations: 162.3 kB / 1.265 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.9331, allocations: 1.484 kB / 1.265 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.9331, allocations: 3.484 kB / 1.265 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.9332, allocations: 0.9375 kB / 1.265 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.9332, allocations: 3.938 kB / 1.265 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.9332, allocations: 1.625 kB / 1.265 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.9332, allocations: 0 / 1.265 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.9333, allocations: 77.58 kB / 1.265 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.9333, allocations: 81.14 kB / 1.265 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.9333, allocations: 5.531 kB / 1.265 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.159e-05/0.9334, allocations: 4.938 kB / 1.265 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.9334, allocations: 1.391 kB / 1.265 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.9334, allocations: 5.422 kB / 1.265 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.9335, allocations: 97.44 kB / 1.265 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9335, allocations: 0 / 1.265 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000185/0.9336, allocations: 3.219 kB / 1.265 GB, free: 5.574 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.825e-05/0.9337, allocations: 98.3 kB / 1.265 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.901e-05/0.9338, allocations: 12.89 kB / 1.265 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9338, allocations: 0.9688 kB / 1.265 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.9339, allocations: 6.094 kB / 1.265 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.934, allocations: 2.375 kB / 1.265 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.9343, allocations: 158.1 kB / 1.266 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.9344, allocations: 0.6787 MB / 1.266 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.9344, allocations: 9.031 kB / 1.266 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.9344, allocations: 0 / 1.266 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of Templates: time 0.002136/0.9366, allocations: 0.512 MB / 1.267 GB, free: 4.59 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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: 11.033314418047667]