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.001003/0.001003, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001101/0.001101, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.147/2.147, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.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 2.354e-06/2.354e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.588e-05, allocations: 5.125 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002881/0.002907, allocations: 1.591 MB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003381/0.003245, allocations: 119.7 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.003305, allocations: 4.594 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.003448, allocations: 4.594 kB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.003482, allocations: 17.52 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.003749, allocations: 23.97 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.003862, allocations: 59.77 kB / 0.8812 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.003973, allocations: 19.67 kB / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.004052, allocations: 27.97 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.004122, allocations: 27.91 kB / 0.8812 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.004141, allocations: 4 kB / 0.8812 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.004216, allocations: 19.92 kB / 0.8813 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.00426, allocations: 15.92 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.004286, allocations: 11.98 kB / 0.8813 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.004416, allocations: 51.77 kB / 0.8813 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.004419, allocations: 3.984 kB / 0.8813 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00442, allocations: 0 / 0.8813 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.004425, allocations: 0.9375 kB / 0.8813 GB, free: 4.02 MB / 0.8386 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.0004322/0.004857, allocations: 400.3 kB / 0.8817 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.004893, allocations: 9.062 kB / 0.8817 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.004932, allocations: 8.938 kB / 0.8817 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.005078, allocations: 128.5 kB / 0.8819 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.005089, allocations: 5.5 kB / 0.8819 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.005101, allocations: 8.375 kB / 0.8819 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.00527, allocations: 75.92 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.005279, allocations: 192 / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.005289, allocations: 4.375 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.005295, allocations: 1.344 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.257e-05/0.005338, allocations: 11.94 kB / 0.882 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.005708, allocations: 279.9 kB / 0.8822 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.182e-05/0.00579, allocations: 35.05 kB / 0.8823 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.005814, allocations: 7.688 kB / 0.8823 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.005843, allocations: 4 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.005869, allocations: 41.33 kB / 0.8823 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 3.577e-06/0.005873, allocations: 3.984 kB / 0.8823 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001712/0.006044, allocations: 57.77 kB / 0.8824 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.00608, allocations: 51.41 kB / 0.8824 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.006177, allocations: 178.6 kB / 0.8826 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.006192, allocations: 25.7 kB / 0.8826 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.006253, allocations: 139.4 kB / 0.8828 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.006275, allocations: 12.39 kB / 0.8828 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.006317, allocations: 27.36 kB / 0.8828 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.006454, allocations: 497.2 kB / 0.8833 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.006474, allocations: 4 kB / 0.8833 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.006489, allocations: 0 / 0.8833 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.573e-05/0.006534, allocations: 25.14 kB / 0.8833 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006536, allocations: 0 / 0.8833 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.307e-05/0.006629, allocations: 49.59 kB / 0.8833 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.006647, allocations: 7.984 kB / 0.8834 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006651, allocations: 0.7812 kB / 0.8834 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.00666, allocations: 0 / 0.8834 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.006746, allocations: 8.938 kB / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.00675, allocations: 0 / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.00679, allocations: 11.98 kB / 0.8834 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.006809, allocations: 4 kB / 0.8834 GB, free: 1.75 MB / 0.8386 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 7.792e-05/0.006887, allocations: 152.6 kB / 0.8835 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.006919, allocations: 15.89 kB / 0.8835 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.007031, allocations: 53.61 kB / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.007035, allocations: 4 kB / 0.8836 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007037, allocations: 0 / 0.8836 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.00704, allocations: 0 / 0.8836 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.007182, allocations: 109.2 kB / 0.8837 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007184, allocations: 0 / 0.8837 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.00724, allocations: 15.98 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007242, allocations: 0 / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.007249, allocations: 4 kB / 0.8837 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.007252, allocations: 3.938 kB / 0.8837 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.007253, allocations: 0 / 0.8837 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.007382, allocations: 191.9 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.007392, allocations: 7.938 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.007404, allocations: 0 / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.007485, allocations: 15.92 kB / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.007522, allocations: 4.422 kB / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.007531, allocations: 4 kB / 0.8839 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.425e-05/0.007585, allocations: 135.1 kB / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.007585, allocations: 0 / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002664/0.007852, allocations: 8 kB / 0.8841 GB, free: 0.9766 MB / 0.8386 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 0.0001241/0.007976, allocations: 107.2 kB / 0.8842 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.528e-05/0.008071, allocations: 19.67 kB / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.008073, allocations: 0 / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.008108, allocations: 19.61 kB / 0.8842 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.008382, allocations: 4.766 kB / 0.8842 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.008647, allocations: 169.9 kB / 0.8844 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.044e-05/0.008677, allocations: 59.34 kB / 0.8844 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.008698, allocations: 0 / 0.8844 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.008746, allocations: 74.2 kB / 0.8845 GB, free: 472 kB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/0.008747, allocations: 0 / 0.8845 GB, free: 472 kB / 0.8386 GB Notification: Performance of Templates: time 0.0025/0.01125, allocations: 0.9195 MB / 0.8854 GB, free: 15.55 MB / 0.8542 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.3277049283497036]