Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001263/0.001263, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.00139/0.00139, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.4/1.4, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.822/2.822, allocations: 394.2 MB / 0.6387 GB, free: 11.89 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_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.002095/0.002095, allocations: 79.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8429, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001613/0.8445, allocations: 0.5449 MB / 1.187 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001207/0.8446, allocations: 17.86 kB / 1.187 GB, free: 15.87 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.8446, allocations: 0 / 1.187 GB, free: 15.87 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.8446, allocations: 0 / 1.187 GB, free: 15.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.8448, allocations: 6.828 kB / 1.187 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.157e-06/0.8448, allocations: 0 / 1.187 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.142e-05/0.8448, allocations: 16.47 kB / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.8449, allocations: 1.938 kB / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/0.8449, allocations: 2.516 kB / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.565e-05/0.845, allocations: 1.812 kB / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.845, allocations: 0 / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-06/0.845, allocations: 0 / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.845, allocations: 1.312 kB / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.364e-05/0.845, allocations: 7.875 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 5.018e-05/0.8451, allocations: 9.844 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8451, allocations: 5.312 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8451, allocations: 0 / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8451, allocations: 4 kB / 1.187 GB, free: 15.83 MB / 1.076 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.0002437/0.8453, allocations: 233.4 kB / 1.187 GB, free: 15.58 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8454, allocations: 9.562 kB / 1.187 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.8454, allocations: 2.688 kB / 1.187 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.964e-05/0.8455, allocations: 109.3 kB / 1.188 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.8455, allocations: 384 / 1.188 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.8455, allocations: 2.219 kB / 1.188 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.8456, allocations: 45.33 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.8456, allocations: 1.344 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.8456, allocations: 3.938 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.8456, allocations: 5.031 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.8456, allocations: 6.891 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.8457, allocations: 107.5 kB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.904e-05/0.8458, allocations: 37.16 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.8458, allocations: 15.73 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.8458, allocations: 1.25 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.8458, allocations: 37.97 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.8458, allocations: 0 / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001421/0.846, allocations: 50 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.846, allocations: 83.47 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.512e-05/0.8461, allocations: 91.97 kB / 1.188 GB, free: 14.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/0.8461, allocations: 25.7 kB / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.154e-05/0.8461, allocations: 80.14 kB / 1.188 GB, free: 14.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.8461, allocations: 13.59 kB / 1.188 GB, free: 14.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.8461, allocations: 17.12 kB / 1.188 GB, free: 14.76 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.742e-05/0.8462, allocations: 312.9 kB / 1.188 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.8462, allocations: 1.844 kB / 1.188 GB, free: 14.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.309e-05/0.8462, allocations: 13.91 kB / 1.188 GB, free: 14.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.8462, allocations: 27.34 kB / 1.188 GB, free: 14.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.8462, allocations: 1.125 kB / 1.188 GB, free: 14.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.524e-05/0.8463, allocations: 37.02 kB / 1.188 GB, free: 14.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.8463, allocations: 5.75 kB / 1.188 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.8463, allocations: 0.75 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.8463, allocations: 3.938 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/0.8464, allocations: 8.344 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.8464, allocations: 4.609 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.8464, allocations: 5.406 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.8464, allocations: 1.281 kB / 1.189 GB, free: 14.36 MB / 1.076 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.204e-05/0.8465, allocations: 115.8 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.8465, allocations: 5.812 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.8466, allocations: 50 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8466, allocations: 4.5 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.8466, allocations: 1.562 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8466, allocations: 0 / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.953e-05/0.8467, allocations: 98.64 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8467, allocations: 4 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.8467, allocations: 3.969 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.8467, allocations: 1.828 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.8467, allocations: 0 / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8467, allocations: 1.734 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.8467, allocations: 5.312 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.407e-05/0.8468, allocations: 74.27 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.8468, allocations: 3.828 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.8468, allocations: 4.609 kB / 1.189 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.8468, allocations: 1.438 kB / 1.189 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.8468, allocations: 9.938 kB / 1.189 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.8468, allocations: 2.062 kB / 1.189 GB, free: 13.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.64e-05/0.8469, allocations: 76.59 kB / 1.189 GB, free: 13.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8469, allocations: 0 / 1.189 GB, free: 13.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000188/0.847, allocations: 5.312 kB / 1.189 GB, free: 13.89 MB / 1.076 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 9.417e-05/0.8471, allocations: 92.98 kB / 1.189 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.226e-05/0.8472, allocations: 16.48 kB / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8472, allocations: 224 / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.8472, allocations: 8.75 kB / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.8474, allocations: 3.844 kB / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002002/0.8476, allocations: 94.47 kB / 1.189 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.8476, allocations: 61.14 kB / 1.189 GB, free: 13.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.8476, allocations: 1.688 kB / 1.189 GB, free: 13.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.8477, allocations: 8.5 kB / 1.189 GB, free: 13.59 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.8477, allocations: 0 / 1.189 GB, free: 13.59 MB / 1.076 GB Notification: Performance of Templates: time 0.002251/0.8499, allocations: 194.2 kB / 1.189 GB, free: 13.54 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.40415627101902]