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.001898/0.001898, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002194/0.002194, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.034/3.034, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.573e-06/1.573e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.291e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00164/0.001673, allocations: 0.5426 MB / 0.8113 GB, free: 1.594 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001804/0.001854, allocations: 39.81 kB / 0.8114 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.001904, allocations: 0 / 0.8114 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.409e-05/0.001958, allocations: 9.984 kB / 0.8114 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.002099, allocations: 0 / 0.8114 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.57e-05/0.002155, allocations: 8 kB / 0.8114 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.734e-05/0.002222, allocations: 7.938 kB / 0.8114 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.002264, allocations: 7.984 kB / 0.8114 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.002328, allocations: 4.469 kB / 0.8114 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.002411, allocations: 20.84 kB / 0.8114 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.00244, allocations: 0 / 0.8114 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/0.002449, allocations: 0 / 0.8114 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.002505, allocations: 8.969 kB / 0.8114 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.00253, allocations: 0 / 0.8114 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.001e-05/0.00261, allocations: 12.45 kB / 0.8114 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002612, allocations: 0 / 0.8114 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002612, allocations: 1.312 kB / 0.8114 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.002617, allocations: 4 kB / 0.8114 GB, free: 1.477 MB / 0.7605 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.000513/0.00313, allocations: 356.3 kB / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.003169, allocations: 12.66 kB / 0.8118 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.00321, allocations: 0.9375 kB / 0.8118 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.003403, allocations: 117.8 kB / 0.8119 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.003417, allocations: 4.375 kB / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.003433, allocations: 384 / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.411e-05/0.003518, allocations: 36.69 kB / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.003526, allocations: 192 / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.003533, allocations: 384 / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.003537, allocations: 384 / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.25e-05/0.00356, allocations: 7.875 kB / 0.8119 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.003725, allocations: 112.6 kB / 0.8121 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 6.641e-05/0.003792, allocations: 31.61 kB / 0.8121 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.003811, allocations: 8.406 kB / 0.8121 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.003825, allocations: 0 / 0.8121 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.003862, allocations: 38.55 kB / 0.8121 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.003863, allocations: 0 / 0.8121 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001513/0.004014, allocations: 41.7 kB / 0.8122 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.004062, allocations: 52.94 kB / 0.8122 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.004212, allocations: 169.9 kB / 0.8124 GB, free: 356 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.004234, allocations: 25.7 kB / 0.8124 GB, free: 324 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.004327, allocations: 130.9 kB / 0.8125 GB, free: 188 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.004349, allocations: 9.312 kB / 0.8125 GB, free: 180 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.004392, allocations: 23.38 kB / 0.8126 GB, free: 148 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002866/0.004679, allocations: 492.1 kB / 0.813 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.004692, allocations: 1.219 kB / 0.813 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.004725, allocations: 23.38 kB / 0.8131 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.71e-05/0.004782, allocations: 27.83 kB / 0.8131 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.004787, allocations: 4.531 kB / 0.8131 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.7e-05/0.004864, allocations: 42.52 kB / 0.8131 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.004878, allocations: 4.812 kB / 0.8131 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.004882, allocations: 0 / 0.8131 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.004895, allocations: 4 kB / 0.8131 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.004962, allocations: 8.516 kB / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.004966, allocations: 1.625 kB / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.004991, allocations: 3.938 kB / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.004999, allocations: 4 kB / 0.8132 GB, free: 15.51 MB / 0.7761 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 0.0001244/0.005123, allocations: 157.7 kB / 0.8133 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.005132, allocations: 0 / 0.8133 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.005243, allocations: 45.16 kB / 0.8133 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.005248, allocations: 4.766 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.005251, allocations: 0 / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.005256, allocations: 4.531 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.005384, allocations: 125.5 kB / 0.8135 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005385, allocations: 3.938 kB / 0.8135 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.005436, allocations: 4 kB / 0.8135 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.005438, allocations: 0.8438 kB / 0.8135 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.005446, allocations: 0 / 0.8135 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.005447, allocations: 1.281 kB / 0.8135 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005448, allocations: 0 / 0.8135 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.005592, allocations: 84.33 kB / 0.8136 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.005611, allocations: 8.625 kB / 0.8136 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.005627, allocations: 4.859 kB / 0.8136 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.005651, allocations: 4 kB / 0.8136 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.005668, allocations: 4 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.00567, allocations: 1.562 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003333/0.006004, allocations: 123.2 kB / 0.8137 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.006004, allocations: 0 / 0.8137 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001827/0.006186, allocations: 7.938 kB / 0.8137 GB, free: 14.88 MB / 0.7761 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 0.0001159/0.006302, allocations: 104.2 kB / 0.8138 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.743e-05/0.00639, allocations: 19.03 kB / 0.8138 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006391, allocations: 0 / 0.8138 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.042e-05/0.006412, allocations: 11.69 kB / 0.8138 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.006552, allocations: 4 kB / 0.8138 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.006853, allocations: 125.2 kB / 0.814 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.684e-05/0.00692, allocations: 63.2 kB / 0.814 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.91e-05/0.006939, allocations: 4.5 kB / 0.814 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.00697, allocations: 10.44 kB / 0.814 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.006971, allocations: 0 / 0.814 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.002964/0.009935, allocations: 364.6 kB / 0.8144 GB, free: 14.14 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.11792303796392]