Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008316/0.0008316, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001087/0.001919, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007245/0.0007245, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008887/0.001613, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.8867/0.8867, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/0.9882, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.744/1.744, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4503/2.194, allocations: 123.3 MB / 0.728 GB, free: 5.797 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.719e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00121/0.001227, allocations: 0.5841 MB / 0.7299 GB, free: 3.949 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 3.191e-05/0.001259, allocations: 11.92 kB / 0.7299 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.001275, allocations: 2.094 kB / 0.7299 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.897e-06/0.001279, allocations: 0 / 0.7299 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.724e-05/0.001317, allocations: 12.69 kB / 0.7299 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.00132, allocations: 0 / 0.7299 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.542e-05/0.001366, allocations: 5.531 kB / 0.7299 GB, free: 3.922 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.167e-05/0.001397, allocations: 6.391 kB / 0.7299 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.001439, allocations: 2.188 kB / 0.7299 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.308e-05/0.001472, allocations: 4 kB / 0.7299 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.001489, allocations: 1.422 kB / 0.7299 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-06/0.001495, allocations: 0.5312 kB / 0.7299 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.001502, allocations: 0.9375 kB / 0.7299 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.001516, allocations: 1.094 kB / 0.7299 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.375e-05/0.00157, allocations: 7.984 kB / 0.7299 GB, free: 3.906 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.001584, allocations: 1.484 kB / 0.7299 GB, free: 3.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.001584, allocations: 0.875 kB / 0.7299 GB, free: 3.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.001599, allocations: 0 / 0.7299 GB, free: 3.906 MB / 0.698 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.0002319/0.001831, allocations: 216.7 kB / 0.7301 GB, free: 3.668 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.00186, allocations: 9.469 kB / 0.7302 GB, free: 3.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.001885, allocations: 0.9375 kB / 0.7302 GB, free: 3.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.323e-05/0.001958, allocations: 113.8 kB / 0.7303 GB, free: 3.523 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.001968, allocations: 1.031 kB / 0.7303 GB, free: 3.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-06/0.001974, allocations: 384 / 0.7303 GB, free: 3.523 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.533e-05/0.002049, allocations: 49.38 kB / 0.7303 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.002055, allocations: 1.969 kB / 0.7303 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.002062, allocations: 4.359 kB / 0.7303 GB, free: 3.461 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.002067, allocations: 384 / 0.7303 GB, free: 3.461 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.885e-05/0.002086, allocations: 11.92 kB / 0.7303 GB, free: 3.449 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.022e-05/0.002166, allocations: 66.78 kB / 0.7304 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/0.002209, allocations: 37.16 kB / 0.7304 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.002223, allocations: 12.55 kB / 0.7304 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.002248, allocations: 8.125 kB / 0.7305 GB, free: 3.289 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.002266, allocations: 30.56 kB / 0.7305 GB, free: 3.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.002267, allocations: 0 / 0.7305 GB, free: 3.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.238e-05/0.002359, allocations: 42.81 kB / 0.7305 GB, free: 3.203 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.002396, allocations: 81.05 kB / 0.7306 GB, free: 3.105 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.783e-05/0.002444, allocations: 103.2 kB / 0.7307 GB, free: 2.992 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002013/0.004457, allocations: 26.36 kB / 0.7307 GB, free: 2.961 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.297e-05/0.00448, allocations: 81.02 kB / 0.7308 GB, free: 2.879 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.00451, allocations: 3.953 kB / 0.7308 GB, free: 2.875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.004541, allocations: 22.58 kB / 0.7308 GB, free: 2.848 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.004623, allocations: 314.8 kB / 0.7311 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-06/0.00463, allocations: 4.562 kB / 0.7311 GB, free: 2.527 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.004644, allocations: 12.28 kB / 0.7311 GB, free: 2.512 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/0.004672, allocations: 17.72 kB / 0.7312 GB, free: 2.488 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.004674, allocations: 0 / 0.7312 GB, free: 2.488 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.999e-05/0.004724, allocations: 42.84 kB / 0.7312 GB, free: 2.441 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.004735, allocations: 4 kB / 0.7312 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.00474, allocations: 0.875 kB / 0.7312 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.004749, allocations: 0 / 0.7312 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.004818, allocations: 8 kB / 0.7312 GB, free: 2.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.004822, allocations: 5.828 kB / 0.7312 GB, free: 2.426 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.004836, allocations: 4 kB / 0.7312 GB, free: 2.422 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.004844, allocations: 4.953 kB / 0.7312 GB, free: 2.418 MB / 0.698 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 5.181e-05/0.004895, allocations: 117.7 kB / 0.7313 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.004904, allocations: 8.594 kB / 0.7313 GB, free: 2.285 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.473e-05/0.004979, allocations: 37.34 kB / 0.7314 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.004981, allocations: 5.031 kB / 0.7314 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.004983, allocations: 0 / 0.7314 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.004986, allocations: 5.172 kB / 0.7314 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.918e-05/0.005045, allocations: 65.84 kB / 0.7315 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005046, allocations: 1.781 kB / 0.7315 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.005064, allocations: 7.984 kB / 0.7315 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.005084, allocations: 0 / 0.7315 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.005087, allocations: 5.094 kB / 0.7315 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-06/0.00509, allocations: 0 / 0.7315 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005091, allocations: 1.219 kB / 0.7315 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005092, allocations: 0 / 0.7315 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.413e-05/0.005146, allocations: 69.92 kB / 0.7315 GB, free: 2.047 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.005156, allocations: 4.75 kB / 0.7315 GB, free: 2.043 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.005166, allocations: 0 / 0.7315 GB, free: 2.043 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.005176, allocations: 4.812 kB / 0.7315 GB, free: 2.039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.005178, allocations: 0 / 0.7315 GB, free: 2.039 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.003e-06/0.005185, allocations: 9.516 kB / 0.7316 GB, free: 2.027 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.005185, allocations: 3.25 kB / 0.7316 GB, free: 2.027 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001295/0.005315, allocations: 0 / 0.7316 GB, free: 2.027 MB / 0.698 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 7.134e-05/0.005386, allocations: 80.41 kB / 0.7316 GB, free: 1.938 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.536e-05/0.005441, allocations: 14.08 kB / 0.7316 GB, free: 1.922 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.005444, allocations: 0 / 0.7316 GB, free: 1.922 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.779e-06/0.005454, allocations: 13.3 kB / 0.7317 GB, free: 1.906 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.876e-05/0.005513, allocations: 12.75 kB / 0.7317 GB, free: 1.895 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001617/0.005674, allocations: 105.1 kB / 0.7318 GB, free: 1.766 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.005703, allocations: 52.52 kB / 0.7318 GB, free: 1.695 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.426e-05/0.005718, allocations: 0 / 0.7318 GB, free: 1.695 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.005748, allocations: 57.39 kB / 0.7319 GB, free: 1.641 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.005749, allocations: 0 / 0.7319 GB, free: 1.641 MB / 0.698 GB Notification: Performance of Templates: time 0.004804/0.01055, allocations: 228.2 kB / 0.7321 GB, free: 1.422 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Examples.Performance.Example8/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.510802613571286]