Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.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.0009437/0.0009437, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009792/0.0009792, allocations: 169 kB / 23.02 MB, free: 1.547 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.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.058/2.058, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.125e-05, allocations: 9.203 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001848/0.001869, allocations: 1.612 MB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003015/0.00217, allocations: 128.2 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.002211, allocations: 5.125 kB / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.00224, allocations: 0 / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.002284, allocations: 9.562 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.002574, allocations: 32.97 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.833e-05/0.002642, allocations: 41.44 kB / 0.8799 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.174e-05/0.002724, allocations: 12.86 kB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.002762, allocations: 21.52 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.565e-05/0.002797, allocations: 11.98 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.002813, allocations: 4 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.002889, allocations: 27.95 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.002901, allocations: 5.781 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.002925, allocations: 15.92 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.003045, allocations: 39.89 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003047, allocations: 0 / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003048, allocations: 0 / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003052, allocations: 2.781 kB / 0.8801 GB, free: 4.383 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000353/0.003405, allocations: 372.5 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.003439, allocations: 8.031 kB / 0.8804 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.003475, allocations: 8.891 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.267e-05/0.003558, allocations: 128.5 kB / 0.8806 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.003576, allocations: 384 / 0.8806 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.00359, allocations: 4.375 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.003718, allocations: 67.64 kB / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.003728, allocations: 192 / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.003736, allocations: 2.031 kB / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.003744, allocations: 384 / 0.8807 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.003783, allocations: 15.94 kB / 0.8807 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.004069, allocations: 271.7 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.004235, allocations: 48.39 kB / 0.881 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.381e-05/0.004259, allocations: 15.73 kB / 0.881 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.084e-05/0.00435, allocations: 12 kB / 0.881 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.004374, allocations: 49.31 kB / 0.881 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.004374, allocations: 0 / 0.881 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001403/0.004515, allocations: 49.62 kB / 0.8811 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.004538, allocations: 55.41 kB / 0.8811 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/0.004605, allocations: 165.9 kB / 0.8813 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.004614, allocations: 25.7 kB / 0.8813 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.004659, allocations: 130.9 kB / 0.8815 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.004674, allocations: 7.953 kB / 0.8815 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.004699, allocations: 19.38 kB / 0.8815 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.0048, allocations: 0.4923 MB / 0.882 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.004816, allocations: 7.938 kB / 0.882 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.004829, allocations: 8.172 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.004864, allocations: 27.61 kB / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.004865, allocations: 256 / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.635e-05/0.004921, allocations: 45.62 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.004931, allocations: 4 kB / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.004937, allocations: 4 kB / 0.8821 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.004952, allocations: 4 kB / 0.8821 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.8e-05/0.00499, allocations: 4 kB / 0.8821 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.004994, allocations: 4 kB / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.005016, allocations: 11.94 kB / 0.8821 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.005021, allocations: 4 kB / 0.8821 GB, free: 2.133 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: 2 (falFac.y,rea2Int.y) * 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 6.506e-05/0.005086, allocations: 156.6 kB / 0.8822 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.005102, allocations: 3.938 kB / 0.8822 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.945e-05/0.005192, allocations: 57.3 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.005193, allocations: 0 / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.005196, allocations: 0 / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005198, allocations: 0 / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.56e-05/0.005284, allocations: 120.6 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005285, allocations: 4 kB / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.005312, allocations: 12 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005313, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.00532, allocations: 7.922 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.005321, allocations: 0 / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005321, allocations: 0 / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.803e-05/0.005409, allocations: 195.9 kB / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-06/0.005415, allocations: 7.891 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.005425, allocations: 3.938 kB / 0.8826 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.191e-05/0.005457, allocations: 4 kB / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.005497, allocations: 15.98 kB / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.005499, allocations: 0 / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.00553, allocations: 127.2 kB / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005531, allocations: 0 / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001418/0.005672, allocations: 8 kB / 0.8828 GB, free: 1.348 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: 2 (rea2Int.y,falFac.y) * 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.0001/0.005772, allocations: 106.9 kB / 0.8829 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.736e-05/0.00585, allocations: 31.84 kB / 0.8829 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.005851, allocations: 0 / 0.8829 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.005876, allocations: 27.69 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.00604, allocations: 12 kB / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.006265, allocations: 126.2 kB / 0.8831 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.006297, allocations: 59.34 kB / 0.8831 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.67e-05/0.006313, allocations: 0 / 0.8831 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.006338, allocations: 12.5 kB / 0.8831 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/0.006338, allocations: 0 / 0.8831 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of Templates: time 0.002154/0.008492, allocations: 0.7905 MB / 0.8839 GB, free: 140 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_FallingFactorial.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.314749885816127]