Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Average.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.001605/0.001605, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001175/0.001175, allocations: 181 kB / 23.36 MB, free: 1.129 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 0.9779/0.9779, allocations: 177.1 MB / 203.8 MB, free: 5.438 MB / 186.7 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.349/2.349, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.42e-07/9.42e-07, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.468e-06/1.041e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001744/0.001754, allocations: 1.581 MB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000237/0.001991, allocations: 119.5 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.00203, allocations: 7.938 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.595e-05/0.002116, allocations: 11.86 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.267e-05/0.002139, allocations: 11.86 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.002319, allocations: 23.97 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.079e-05/0.002389, allocations: 59.83 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.797e-05/0.002457, allocations: 27.92 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.00251, allocations: 31.91 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.002555, allocations: 19.97 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.002568, allocations: 4 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.5e-05/0.002613, allocations: 15.98 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.086e-05/0.002644, allocations: 15.92 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.002663, allocations: 15.98 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.873e-05/0.002752, allocations: 51.75 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.253e-06/0.002753, allocations: 4 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.61e-07/0.002754, allocations: 0 / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.002757, allocations: 3.938 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004629/0.003219, allocations: 276.4 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.003247, allocations: 8.625 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.003273, allocations: 8.938 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.003377, allocations: 121.7 kB / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.003385, allocations: 8.375 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.003395, allocations: 4.375 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.003506, allocations: 77.69 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.003511, allocations: 192 / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.003518, allocations: 384 / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.003521, allocations: 4.375 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.003545, allocations: 11.94 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.00376, allocations: 193.8 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.487e-05/0.003815, allocations: 26.56 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.003832, allocations: 12.86 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.003855, allocations: 0 / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.003876, allocations: 38.5 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 5.61e-07/0.003876, allocations: 0 / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.903e-05/0.003975, allocations: 49.8 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.004002, allocations: 55.41 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.106e-05/0.004053, allocations: 122.6 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.004063, allocations: 25.7 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.004093, allocations: 92.12 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.004113, allocations: 11.84 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.004135, allocations: 13.72 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.004217, allocations: 322.8 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.004227, allocations: 0 / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.004238, allocations: 4 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.004264, allocations: 19.61 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.004266, allocations: 4 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.453e-05/0.00431, allocations: 41.69 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.004321, allocations: 7.938 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.004324, allocations: 0 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.004333, allocations: 0 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/0.004386, allocations: 11.98 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.004389, allocations: 0 / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.004411, allocations: 8 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.004424, allocations: 4 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.91e-05/0.004473, allocations: 112.7 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.004488, allocations: 11.94 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/0.004558, allocations: 53.61 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.004559, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.00456, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.004563, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.308e-05/0.004646, allocations: 77.88 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004647, allocations: 0 / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.004672, allocations: 11.98 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.004674, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.004678, allocations: 4 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.00468, allocations: 3.938 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.004681, allocations: 4 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.144e-05/0.004752, allocations: 147.4 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-06/0.004759, allocations: 7.953 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.004767, allocations: 0 / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.004802, allocations: 11.92 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.004825, allocations: 0 / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.004831, allocations: 7.984 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.469e-05/0.004846, allocations: 17.3 kB / 0.8425 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004846, allocations: 0 / 0.8425 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001217/0.004967, allocations: 11.94 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 7.741e-05/0.005045, allocations: 84.41 kB / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.777e-05/0.005112, allocations: 60.02 kB / 0.8426 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.005114, allocations: 0 / 0.8426 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.652e-05/0.005131, allocations: 12.89 kB / 0.8427 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.005252, allocations: 19.97 kB / 0.8427 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.00546, allocations: 154.2 kB / 0.8428 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.056e-05/0.00549, allocations: 63.67 kB / 0.8429 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.005508, allocations: 4 kB / 0.8429 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.00555, allocations: 55.38 kB / 0.8429 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.005551, allocations: 0 / 0.8429 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of Templates: time 0.002661/0.008212, allocations: 0.779 MB / 0.8437 GB, free: 8.652 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Average.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: 5.2912281840108335]