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.0013/0.0013, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001429/0.001429, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.429/1.429, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.847/2.847, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.91 kB / 1.15 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00166/1.009, allocations: 0.5256 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001412/1.009, allocations: 18.03 kB / 1.322 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/1.009, allocations: 2.781 kB / 1.322 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/1.009, allocations: 0 / 1.322 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001615/1.009, allocations: 7.938 kB / 1.322 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/1.009, allocations: 0 / 1.322 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.811e-05/1.009, allocations: 10.36 kB / 1.322 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.602e-05/1.009, allocations: 6.891 kB / 1.322 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/1.009, allocations: 3.938 kB / 1.322 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.311e-05/1.009, allocations: 6.75 kB / 1.322 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/1.009, allocations: 0 / 1.322 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-06/1.009, allocations: 0 / 1.322 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/1.009, allocations: 0 / 1.322 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/1.009, allocations: 0 / 1.322 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.15e-05/1.009, allocations: 10.73 kB / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.009, allocations: 4 kB / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.455e-06/1.009, allocations: 0 / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.009, allocations: 0 / 1.323 GB, free: 24.7 MB / 1.061 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.0002671/1.01, allocations: 326.1 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/1.01, allocations: 11.89 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/1.01, allocations: 0.9375 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.905e-05/1.01, allocations: 169.9 kB / 1.323 GB, free: 24.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/1.01, allocations: 384 / 1.323 GB, free: 24.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/1.01, allocations: 384 / 1.323 GB, free: 24.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.474e-05/1.01, allocations: 49.45 kB / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.01, allocations: 192 / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/1.01, allocations: 3.938 kB / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.01, allocations: 0 / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/1.01, allocations: 9.375 kB / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/1.01, allocations: 153.1 kB / 1.323 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.734e-05/1.01, allocations: 42.66 kB / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/1.01, allocations: 12.38 kB / 1.323 GB, free: 23.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/1.01, allocations: 2.781 kB / 1.323 GB, free: 23.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/1.01, allocations: 34.56 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/1.01, allocations: 0 / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001331/1.01, allocations: 51.36 kB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/1.01, allocations: 77.11 kB / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.11e-05/1.01, allocations: 96.67 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/1.01, allocations: 25.7 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.51e-05/1.01, allocations: 80.14 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/1.011, allocations: 7.281 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/1.011, allocations: 12.81 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.122e-05/1.011, allocations: 319.2 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/1.011, allocations: 2.562 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/1.011, allocations: 12.22 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/1.011, allocations: 22.42 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.011, allocations: 0 / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.935e-05/1.011, allocations: 41.55 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.011, allocations: 9.375 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.011, allocations: 6.594 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.011, allocations: 3.938 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/1.011, allocations: 5.828 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/1.011, allocations: 0 / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/1.011, allocations: 2.656 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/1.011, allocations: 7.938 kB / 1.324 GB, free: 22.98 MB / 1.061 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.307e-05/1.011, allocations: 108.5 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/1.011, allocations: 0 / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.832e-05/1.011, allocations: 58.48 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/1.011, allocations: 0 / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.011, allocations: 3.188 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.011, allocations: 2.688 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.992e-05/1.011, allocations: 148.4 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.011, allocations: 2.562 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/1.011, allocations: 5.984 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/1.011, allocations: 0 / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/1.011, allocations: 11.03 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.011, allocations: 0 / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.011, allocations: 0 / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.996e-05/1.011, allocations: 69.22 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/1.011, allocations: 83.62 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/1.011, allocations: 3.938 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/1.011, allocations: 6.656 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/1.011, allocations: 0 / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/1.011, allocations: 9.906 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.649e-05/1.011, allocations: 75.28 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.011, allocations: 0 / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000191/1.011, allocations: 2.469 kB / 1.325 GB, free: 22.36 MB / 1.061 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.554e-05/1.012, allocations: 94.66 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.03e-05/1.012, allocations: 13.34 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.012, allocations: 0 / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.518e-06/1.012, allocations: 9.188 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/1.012, allocations: 6.031 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/1.012, allocations: 119.6 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.07e-05/1.012, allocations: 0.6747 MB / 1.325 GB, free: 21.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/1.012, allocations: 7.438 kB / 1.325 GB, free: 21.41 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.012, allocations: 7 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of Templates: time 0.001599/1.014, allocations: 372.2 kB / 1.326 GB, free: 21.39 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.04129214999557]