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.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.001754/0.001754, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001951/0.001951, allocations: 190.9 kB / 22.1 MB, free: 4.285 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.515/1.515, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.96/2.96, allocations: 495.8 MB / 0.7831 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.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 0.002039/0.002039, allocations: 67.88 kB / 1.137 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.958/0.9601, allocations: 173.6 MB / 1.307 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001894/0.962, allocations: 0.5382 MB / 1.307 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.9621, allocations: 15.86 kB / 1.307 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.9621, allocations: 1.594 kB / 1.307 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.9621, allocations: 0 / 1.307 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.9623, allocations: 14.73 kB / 1.307 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.9623, allocations: 0 / 1.307 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.63e-05/0.9624, allocations: 3.703 kB / 1.307 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.9624, allocations: 6.547 kB / 1.307 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.12e-05/0.9625, allocations: 6 kB / 1.307 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.013e-05/0.9625, allocations: 1.344 kB / 1.307 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.9625, allocations: 0 / 1.307 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-06/0.9625, allocations: 0 / 1.307 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.9625, allocations: 1.219 kB / 1.307 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.9626, allocations: 4.453 kB / 1.307 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.356e-05/0.9626, allocations: 6.047 kB / 1.307 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9626, allocations: 1.406 kB / 1.307 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9626, allocations: 0 / 1.307 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.9626, allocations: 0 / 1.307 GB, free: 0.5508 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003195/0.963, allocations: 248.7 kB / 1.308 GB, free: 292 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.963, allocations: 14.41 kB / 1.308 GB, free: 288 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.963, allocations: 1.547 kB / 1.308 GB, free: 288 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.9631, allocations: 110.1 kB / 1.308 GB, free: 156 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.9631, allocations: 384 / 1.308 GB, free: 156 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.9631, allocations: 1.438 kB / 1.308 GB, free: 156 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.9633, allocations: 45.97 kB / 1.308 GB, free: 104 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.9633, allocations: 192 / 1.308 GB, free: 104 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.9633, allocations: 8.688 kB / 1.308 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9633, allocations: 0 / 1.308 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.757e-05/0.9633, allocations: 7.359 kB / 1.308 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.9635, allocations: 127 kB / 1.308 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.018e-05/0.9636, allocations: 33.58 kB / 1.308 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.9636, allocations: 19.78 kB / 1.308 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.9636, allocations: 5.984 kB / 1.308 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.9637, allocations: 30.56 kB / 1.308 GB, free: 15.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.9637, allocations: 1.375 kB / 1.308 GB, free: 15.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001581/0.9638, allocations: 48.98 kB / 1.308 GB, free: 15.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.9639, allocations: 79.06 kB / 1.308 GB, free: 15.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.964, allocations: 96.56 kB / 1.308 GB, free: 15.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.964, allocations: 29.64 kB / 1.308 GB, free: 15.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.964, allocations: 80.14 kB / 1.308 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.9641, allocations: 5.828 kB / 1.308 GB, free: 15.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.9641, allocations: 17.28 kB / 1.308 GB, free: 15.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.9642, allocations: 312.6 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.9643, allocations: 1.797 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.9643, allocations: 17.12 kB / 1.309 GB, free: 15.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.9643, allocations: 23.42 kB / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9643, allocations: 0 / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.714e-05/0.9644, allocations: 36.67 kB / 1.309 GB, free: 15.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.9644, allocations: 5.734 kB / 1.309 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.9644, allocations: 5.344 kB / 1.309 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9644, allocations: 0 / 1.309 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.9645, allocations: 13.16 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.9645, allocations: 0 / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.9645, allocations: 1.094 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.9645, allocations: 2.047 kB / 1.309 GB, free: 15.03 MB / 1.014 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 9.061e-05/0.9646, allocations: 115.8 kB / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.9646, allocations: 1.031 kB / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.9647, allocations: 57.06 kB / 1.309 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9647, allocations: 5.719 kB / 1.309 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.9648, allocations: 5.172 kB / 1.309 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9648, allocations: 1.859 kB / 1.309 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.9649, allocations: 123.7 kB / 1.309 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.9649, allocations: 0 / 1.309 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.9649, allocations: 4.109 kB / 1.309 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.9649, allocations: 6 kB / 1.309 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.9649, allocations: 5.094 kB / 1.309 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9649, allocations: 0 / 1.309 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9649, allocations: 1.906 kB / 1.309 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.965, allocations: 81.64 kB / 1.309 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.965, allocations: 2.797 kB / 1.309 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.9651, allocations: 5.281 kB / 1.309 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.602e-05/0.9651, allocations: 1.188 kB / 1.309 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.9651, allocations: 1.641 kB / 1.309 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.9651, allocations: 1.531 kB / 1.309 GB, free: 14.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.06e-05/0.9651, allocations: 84.5 kB / 1.309 GB, free: 14.51 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9651, allocations: 0 / 1.309 GB, free: 14.51 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001797/0.9653, allocations: 1.406 kB / 1.309 GB, free: 14.51 MB / 1.014 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 0.0001143/0.9654, allocations: 95.14 kB / 1.309 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.06e-05/0.9655, allocations: 15.39 kB / 1.309 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9655, allocations: 0 / 1.309 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.578e-06/0.9655, allocations: 3.641 kB / 1.309 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.9657, allocations: 7.688 kB / 1.309 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.9659, allocations: 92.55 kB / 1.309 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.9663, allocations: 0.6732 MB / 1.31 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.773e-05/0.9663, allocations: 1.781 kB / 1.31 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.9663, allocations: 7.438 kB / 1.31 GB, free: 13.6 MB / 1.014 GB Notification: Performance of SimCode: time 7.71e-07/0.9663, allocations: 1.062 kB / 1.31 GB, free: 13.6 MB / 1.014 GB Notification: Performance of Templates: time 0.002412/0.9687, allocations: 207.8 kB / 1.31 GB, free: 13.54 MB / 1.014 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/jenkins/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: 9.202290542423725]