Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009646/0.0009647, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 182.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.000395, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7505/0.7509, allocations: 142.4 MB / 0.9557 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001642/0.7526, allocations: 1.255 MB / 0.9569 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003826/0.753, allocations: 131.3 kB / 0.9571 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.7531, allocations: 1.188 kB / 0.9571 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.7531, allocations: 0 / 0.9571 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.7531, allocations: 5.219 kB / 0.9571 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.7534, allocations: 30.17 kB / 0.9571 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.267e-05/0.7535, allocations: 37.98 kB / 0.9571 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.7536, allocations: 10.12 kB / 0.9571 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.159e-05/0.7536, allocations: 17.14 kB / 0.9572 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.913e-05/0.7536, allocations: 16.69 kB / 0.9572 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.7537, allocations: 1.438 kB / 0.9572 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.967e-05/0.7537, allocations: 16.55 kB / 0.9572 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.7538, allocations: 5.156 kB / 0.9572 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.7538, allocations: 36.48 kB / 0.9572 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.346e-05/0.7539, allocations: 31.77 kB / 0.9573 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7539, allocations: 5.156 kB / 0.9573 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7539, allocations: 0 / 0.9573 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.7539, allocations: 0 / 0.9573 GB, free: 6.387 MB / 0.7169 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.0003883/0.7543, allocations: 348.9 kB / 0.9576 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.7544, allocations: 9.375 kB / 0.9576 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.7544, allocations: 7.312 kB / 0.9576 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.591e-05/0.7545, allocations: 178.4 kB / 0.9578 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.7545, allocations: 5.844 kB / 0.9578 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.7545, allocations: 1.875 kB / 0.9578 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.7547, allocations: 69.38 kB / 0.9579 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7547, allocations: 192 / 0.9579 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.7548, allocations: 3.938 kB / 0.9579 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.7548, allocations: 1.062 kB / 0.9579 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.755, allocations: 58.52 kB / 0.9579 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.7553, allocations: 282.8 kB / 0.9582 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.7557, allocations: 67.55 kB / 0.9582 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.7558, allocations: 33.42 kB / 0.9583 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.756, allocations: 400 kB / 0.9587 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.756, allocations: 35.91 kB / 0.9587 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.756, allocations: 0 / 0.9587 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004149/0.7564, allocations: 114.2 kB / 0.9588 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.7564, allocations: 55.41 kB / 0.9589 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.86e-05/0.7565, allocations: 108 kB / 0.959 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.7565, allocations: 25.7 kB / 0.959 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.7566, allocations: 85.27 kB / 0.9591 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.7566, allocations: 6.094 kB / 0.9591 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.7566, allocations: 14.78 kB / 0.9591 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.7567, allocations: 319.9 kB / 0.9594 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.827e-05/0.7568, allocations: 27.58 kB / 0.9594 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.7569, allocations: 36.05 kB / 0.9594 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.7571, allocations: 56.39 kB / 0.9595 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7571, allocations: 0 / 0.9595 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002143/0.7573, allocations: 90.92 kB / 0.9596 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.7573, allocations: 5.312 kB / 0.9596 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.7573, allocations: 0 / 0.9596 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.7573, allocations: 5.844 kB / 0.9596 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.7574, allocations: 12.95 kB / 0.9596 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.7574, allocations: 0 / 0.9596 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-05/0.7575, allocations: 10.41 kB / 0.9596 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.7575, allocations: 5.609 kB / 0.9596 GB, free: 3.992 MB / 0.7169 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.891e-05/0.7576, allocations: 116.7 kB / 0.9597 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.7576, allocations: 5.344 kB / 0.9597 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.7579, allocations: 97.55 kB / 0.9598 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.7579, allocations: 1.188 kB / 0.9598 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7579, allocations: 0 / 0.9598 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.7579, allocations: 0 / 0.9598 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.758, allocations: 173.8 kB / 0.96 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.758, allocations: 0 / 0.96 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.689e-05/0.7581, allocations: 18.17 kB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7581, allocations: 0 / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.7581, allocations: 5.281 kB / 0.96 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7581, allocations: 0 / 0.96 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7581, allocations: 0 / 0.96 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.7584, allocations: 194.2 kB / 0.9602 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.7584, allocations: 78.39 kB / 0.9603 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.7584, allocations: 0 / 0.9603 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.7585, allocations: 10.64 kB / 0.9603 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.7586, allocations: 10.45 kB / 0.9603 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.7586, allocations: 5.344 kB / 0.9603 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.7586, allocations: 82.22 kB / 0.9604 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7586, allocations: 0 / 0.9604 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002295/0.7589, allocations: 11.56 kB / 0.9604 GB, free: 3.219 MB / 0.7169 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.0001381/0.759, allocations: 103.8 kB / 0.9605 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.7593, allocations: 55.28 kB / 0.9606 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7593, allocations: 5.188 kB / 0.9606 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.7594, allocations: 30.45 kB / 0.9606 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.7597, allocations: 16.83 kB / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.76, allocations: 160 kB / 0.9608 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.7601, allocations: 0.6801 MB / 0.9614 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.7601, allocations: 8.844 kB / 0.9614 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7601, allocations: 1.688 kB / 0.9614 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.002232/0.7624, allocations: 0.7887 MB / 0.9622 GB, free: 1.812 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches