Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example5.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.0007703/0.0007703, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009514/0.001722, 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.0006779/0.0006779, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007992/0.001477, 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.8891/0.8891, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08643/0.9755, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4232/2.167, allocations: 123.3 MB / 0.728 GB, free: 5.855 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7293 GB, free: 4.574 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.24e-05, allocations: 4.094 kB / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001734/0.001757, allocations: 0.5821 MB / 0.7299 GB, free: 4.012 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001018/0.001859, allocations: 44.58 kB / 0.7299 GB, free: 3.969 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.001905, allocations: 0.6875 kB / 0.7299 GB, free: 3.969 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.001924, allocations: 2.062 kB / 0.7299 GB, free: 3.969 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.418e-05/0.001988, allocations: 4.641 kB / 0.7299 GB, free: 3.965 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.553e-05/0.002044, allocations: 12.64 kB / 0.73 GB, free: 3.953 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.173e-05/0.002115, allocations: 10.08 kB / 0.73 GB, free: 3.945 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.002162, allocations: 13.5 kB / 0.73 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.458e-05/0.002246, allocations: 6.844 kB / 0.73 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.002337, allocations: 8.969 kB / 0.73 GB, free: 3.922 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.00236, allocations: 5.422 kB / 0.73 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.002368, allocations: 0 / 0.73 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.002412, allocations: 4.984 kB / 0.73 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.002442, allocations: 4.984 kB / 0.73 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.416e-05/0.002526, allocations: 13.36 kB / 0.73 GB, free: 3.898 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.047e-05/0.002546, allocations: 9.406 kB / 0.73 GB, free: 3.891 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002547, allocations: 0 / 0.73 GB, free: 3.891 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.00257, allocations: 0.875 kB / 0.73 GB, free: 3.891 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003982/0.002968, allocations: 232.6 kB / 0.7303 GB, free: 3.637 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.003004, allocations: 9.75 kB / 0.7303 GB, free: 3.629 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.003032, allocations: 4.938 kB / 0.7303 GB, free: 3.625 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.003162, allocations: 105.8 kB / 0.7304 GB, free: 3.496 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.003171, allocations: 384 / 0.7304 GB, free: 3.496 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.003189, allocations: 5.172 kB / 0.7304 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.019e-05/0.003269, allocations: 37.03 kB / 0.7304 GB, free: 3.449 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.003276, allocations: 1.453 kB / 0.7304 GB, free: 3.449 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.003282, allocations: 1.125 kB / 0.7304 GB, free: 3.449 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.003289, allocations: 384 / 0.7304 GB, free: 3.449 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.359e-05/0.003302, allocations: 5.062 kB / 0.7304 GB, free: 3.445 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.181e-05/0.003384, allocations: 63.88 kB / 0.7305 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.831e-05/0.003422, allocations: 14.67 kB / 0.7305 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.003436, allocations: 13.56 kB / 0.7305 GB, free: 3.328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.003448, allocations: 0.6562 kB / 0.7305 GB, free: 3.328 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.003475, allocations: 35.03 kB / 0.7305 GB, free: 3.285 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.003476, allocations: 0.9375 kB / 0.7305 GB, free: 3.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001174/0.003594, allocations: 33.7 kB / 0.7306 GB, free: 3.246 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.003629, allocations: 51.97 kB / 0.7306 GB, free: 3.184 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.003708, allocations: 111.6 kB / 0.7307 GB, free: 3.062 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.003721, allocations: 26.58 kB / 0.7308 GB, free: 3.031 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.003751, allocations: 85.58 kB / 0.7308 GB, free: 2.945 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.003777, allocations: 3.953 kB / 0.7308 GB, free: 2.941 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.003816, allocations: 21.69 kB / 0.7309 GB, free: 2.914 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.003913, allocations: 314.8 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.003925, allocations: 7.484 kB / 0.7312 GB, free: 2.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.017e-05/0.003945, allocations: 14.34 kB / 0.7312 GB, free: 2.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.003982, allocations: 22.05 kB / 0.7312 GB, free: 2.543 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.003984, allocations: 0.5469 kB / 0.7312 GB, free: 2.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.575e-05/0.00405, allocations: 44.45 kB / 0.7312 GB, free: 2.492 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.004066, allocations: 4.562 kB / 0.7312 GB, free: 2.488 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.004072, allocations: 1.312 kB / 0.7312 GB, free: 2.488 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.004082, allocations: 0 / 0.7312 GB, free: 2.488 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.004156, allocations: 9.078 kB / 0.7313 GB, free: 2.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.004161, allocations: 3.984 kB / 0.7313 GB, free: 2.477 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.004179, allocations: 4.875 kB / 0.7313 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.004185, allocations: 0 / 0.7313 GB, free: 2.473 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 6.638e-05/0.004251, allocations: 121.1 kB / 0.7314 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.00426, allocations: 4.719 kB / 0.7314 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.946e-05/0.004349, allocations: 42.84 kB / 0.7314 GB, free: 2.289 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.004351, allocations: 0 / 0.7314 GB, free: 2.289 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.004353, allocations: 0 / 0.7314 GB, free: 2.289 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.004356, allocations: 0 / 0.7314 GB, free: 2.289 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.637e-05/0.004443, allocations: 79.16 kB / 0.7315 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.004445, allocations: 4.594 kB / 0.7315 GB, free: 2.191 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.004492, allocations: 4 kB / 0.7315 GB, free: 2.188 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.004512, allocations: 4.953 kB / 0.7315 GB, free: 2.184 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.004514, allocations: 0 / 0.7315 GB, free: 2.184 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.004523, allocations: 0.5312 kB / 0.7315 GB, free: 2.184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.004525, allocations: 0 / 0.7315 GB, free: 2.184 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.004526, allocations: 4.562 kB / 0.7315 GB, free: 2.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.00463, allocations: 79.31 kB / 0.7316 GB, free: 2.086 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.004643, allocations: 4 kB / 0.7316 GB, free: 2.082 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.553e-05/0.004658, allocations: 0.6562 kB / 0.7316 GB, free: 2.082 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.004674, allocations: 9 kB / 0.7316 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.004677, allocations: 0 / 0.7316 GB, free: 2.074 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.962e-05/0.004696, allocations: 10.11 kB / 0.7316 GB, free: 2.062 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.004697, allocations: 0 / 0.7316 GB, free: 2.062 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001505/0.004847, allocations: 4 kB / 0.7316 GB, free: 2.059 MB / 0.698 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 9.544e-05/0.004942, allocations: 82.22 kB / 0.7317 GB, free: 1.973 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.148e-05/0.005014, allocations: 17.39 kB / 0.7317 GB, free: 1.953 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.005018, allocations: 1.75 kB / 0.7317 GB, free: 1.953 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/0.005031, allocations: 12.8 kB / 0.7317 GB, free: 1.938 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.91e-05/0.00511, allocations: 7.938 kB / 0.7317 GB, free: 1.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.005363, allocations: 111.5 kB / 0.7318 GB, free: 1.793 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.0054, allocations: 60.56 kB / 0.7319 GB, free: 1.715 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.532e-05/0.005415, allocations: 0.7656 kB / 0.7319 GB, free: 1.715 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.005456, allocations: 51.38 kB / 0.732 GB, free: 1.664 MB / 0.698 GB Notification: Performance of SimCode: time 7.81e-07/0.005457, allocations: 0.75 kB / 0.732 GB, free: 1.664 MB / 0.698 GB Notification: Performance of Templates: time 0.002236/0.007693, allocations: 364 kB / 0.7323 GB, free: 1.316 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Examples.Performance.Example5/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.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.526861924678087]