Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001004/0.001004, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001547/0.001547, allocations: 165.4 kB / 24.17 MB, free: 332 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 0.9492/0.9492, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.863/1.863, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.252e-05, allocations: 4.984 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002342/0.002364, allocations: 1.613 MB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.002676, allocations: 141.2 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.002709, allocations: 0 / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.002734, allocations: 4.844 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.387e-05/0.002778, allocations: 2.078 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.003042, allocations: 37.16 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.003109, allocations: 37.31 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.905e-05/0.003178, allocations: 8 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.003217, allocations: 23.38 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.757e-05/0.003255, allocations: 17.5 kB / 0.7618 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.003267, allocations: 4 kB / 0.7618 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.003343, allocations: 23.97 kB / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.003356, allocations: 5.75 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.591e-05/0.003372, allocations: 15.34 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.003479, allocations: 46.45 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003481, allocations: 0 / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003482, allocations: 0 / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.003485, allocations: 0 / 0.7619 GB, free: 4.695 MB / 0.7136 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.0002789/0.003764, allocations: 243.3 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.003793, allocations: 12.03 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.003818, allocations: 8.922 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.918e-05/0.003887, allocations: 109.7 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.003904, allocations: 9.625 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.003913, allocations: 1.031 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.004013, allocations: 62.94 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.004019, allocations: 1.438 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.004025, allocations: 4.375 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.004029, allocations: 384 / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/0.004056, allocations: 20.7 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.004252, allocations: 161.5 kB / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.004375, allocations: 31.25 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.00439, allocations: 14.5 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/0.004457, allocations: 15.98 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.004475, allocations: 38.5 kB / 0.7626 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.665e-06/0.004478, allocations: 3.984 kB / 0.7626 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001012/0.004579, allocations: 42.44 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.004603, allocations: 55.41 kB / 0.7627 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.77e-05/0.00465, allocations: 108 kB / 0.7628 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.004662, allocations: 29.7 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.004693, allocations: 88.97 kB / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.004706, allocations: 4.609 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.004732, allocations: 21.69 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.004803, allocations: 316.5 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.004812, allocations: 0 / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-06/0.004821, allocations: 8.688 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.004849, allocations: 16.84 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.004851, allocations: 0.875 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.509e-05/0.004896, allocations: 37.69 kB / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.004908, allocations: 11.75 kB / 0.7633 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.004914, allocations: 3.938 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.004924, allocations: 1.203 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.004971, allocations: 11.98 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.004974, allocations: 4 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.00499, allocations: 3.25 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.004994, allocations: 0 / 0.7634 GB, free: 3.086 MB / 0.7136 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 5.121e-05/0.005045, allocations: 117.8 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.005059, allocations: 3.984 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/0.005129, allocations: 53.56 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.00513, allocations: 0 / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.005133, allocations: 4 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005135, allocations: 0 / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.754e-05/0.005212, allocations: 81.61 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005213, allocations: 0 / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.005239, allocations: 7.984 kB / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.00524, allocations: 0 / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.005247, allocations: 4 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.005247, allocations: 0 / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.00525, allocations: 7.875 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.373e-05/0.005313, allocations: 135.5 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.005319, allocations: 6.234 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-06/0.005326, allocations: 0 / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.124e-05/0.005357, allocations: 7.984 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.005389, allocations: 7.938 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.005392, allocations: 3.984 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.61e-05/0.005408, allocations: 19.88 kB / 0.7638 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005408, allocations: 0 / 0.7638 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001192/0.005528, allocations: 8 kB / 0.7638 GB, free: 2.582 MB / 0.7136 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.0001022/0.00563, allocations: 88.39 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.341e-05/0.005683, allocations: 16.8 kB / 0.7639 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.005686, allocations: 0 / 0.7639 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/0.005703, allocations: 19.59 kB / 0.7639 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.005816, allocations: 8 kB / 0.7639 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.006013, allocations: 120.5 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.848e-05/0.006042, allocations: 55.34 kB / 0.7641 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.006063, allocations: 8.609 kB / 0.7641 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.006101, allocations: 52.94 kB / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/0.006101, allocations: 0 / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.002181/0.008282, allocations: 0.7981 MB / 0.765 GB, free: 1.395 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.96780183725059]