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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001485/0.001485, allocations: 108.7 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.8399, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002541/0.8425, allocations: 1.528 MB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003812/0.8429, allocations: 138.3 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.843, allocations: 4.75 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.843, allocations: 4.969 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.041e-05/0.8431, allocations: 4.875 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.8434, allocations: 32.14 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.615e-05/0.8435, allocations: 35.89 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.8436, allocations: 20.86 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.357e-05/0.8436, allocations: 11.06 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.8437, allocations: 18.09 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.8437, allocations: 7.125 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-05/0.8438, allocations: 18.58 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.8438, allocations: 10.61 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.8438, allocations: 17.72 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.844, allocations: 40.42 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.844, allocations: 0.9375 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/0.844, allocations: 4.875 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.844, allocations: 0 / 1.09 GB, free: 4.258 MB / 0.8575 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.0004183/0.8444, allocations: 351 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.8445, allocations: 13.44 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.8445, allocations: 3.094 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.749e-05/0.8446, allocations: 172 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.8446, allocations: 10.08 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.8446, allocations: 2.875 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.8448, allocations: 65.69 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8448, allocations: 1.188 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.8449, allocations: 4.734 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8449, allocations: 1.125 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.8451, allocations: 47.44 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.8454, allocations: 274.3 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.8457, allocations: 61.58 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.8458, allocations: 29.83 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.846, allocations: 397.5 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.846, allocations: 32.41 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.846, allocations: 1.094 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000381/0.8464, allocations: 100.5 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.8465, allocations: 57.2 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.8465, allocations: 107.4 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.8465, allocations: 25.7 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.8466, allocations: 87.33 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.8466, allocations: 5.578 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.8466, allocations: 19.23 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.8467, allocations: 317.7 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.8468, allocations: 19.33 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.8469, allocations: 24.5 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.847, allocations: 49.78 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.847, allocations: 1.125 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002075/0.8473, allocations: 73.31 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.8473, allocations: 6.359 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8473, allocations: 0 / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8473, allocations: 5.094 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.8474, allocations: 10.67 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.8474, allocations: 1.734 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.8475, allocations: 18.11 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.8475, allocations: 1.031 kB / 1.093 GB, free: 2.02 MB / 0.8575 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.031e-05/0.8476, allocations: 113.8 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.8476, allocations: 5.141 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.8479, allocations: 88.38 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8479, allocations: 4.656 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8479, allocations: 0.6875 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8479, allocations: 0.7031 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.848, allocations: 173.9 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.848, allocations: 0 / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.736e-05/0.8481, allocations: 16.03 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8481, allocations: 0.5312 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.8481, allocations: 4.594 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8481, allocations: 5.828 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8481, allocations: 0 / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.8484, allocations: 174.1 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.8484, allocations: 78.91 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.8484, allocations: 1.797 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.8485, allocations: 5.562 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.8486, allocations: 12.58 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.8486, allocations: 2.266 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.8486, allocations: 92.41 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8486, allocations: 0 / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002295/0.8489, allocations: 8.062 kB / 1.094 GB, free: 1.297 MB / 0.8575 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.0001355/0.849, allocations: 102.1 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.8493, allocations: 49.83 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8493, allocations: 0.7188 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.8494, allocations: 28.45 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.8497, allocations: 6.766 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.8499, allocations: 151.2 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.8501, allocations: 0.6798 MB / 1.094 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.8502, allocations: 15.02 kB / 1.095 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.8502, allocations: 0.75 kB / 1.095 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of Templates: time 0.002376/0.8526, allocations: 0.8 MB / 1.095 GB, free: 16.27 MB / 0.8731 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