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.001135/0.001135, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001859/0.001859, allocations: 186.1 kB / 17.35 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.426/1.426, 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.375/2.375, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9369/0.9383, 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.002875/0.9413, allocations: 1.527 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003934/0.9417, allocations: 135.9 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.9417, allocations: 0 / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.9418, allocations: 4.5 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.9418, allocations: 5.656 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.9421, allocations: 31.72 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.447e-05/0.9423, allocations: 39.92 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.9424, allocations: 20.53 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.9424, allocations: 11.62 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.9425, allocations: 21.47 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.9425, allocations: 3.688 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.9426, allocations: 17.89 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.9426, allocations: 15.14 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.9426, allocations: 13.48 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.9428, allocations: 37.53 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9428, allocations: 8.547 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9428, allocations: 0 / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.9428, allocations: 0 / 1.09 GB, free: 4.262 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.0004593/0.9433, allocations: 355.6 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.9433, allocations: 8.922 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.9434, allocations: 3.094 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.587e-05/0.9435, allocations: 179.8 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.9435, allocations: 2.344 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.9435, allocations: 6.469 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.9437, allocations: 66.34 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.9437, allocations: 192 / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.9438, allocations: 8.547 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.9438, allocations: 1.188 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.944, allocations: 40.53 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.9443, allocations: 286.8 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.9447, allocations: 52.28 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.9448, allocations: 26.31 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.945, allocations: 401.5 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.945, allocations: 32.42 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.945, allocations: 4 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004007/0.9454, allocations: 102 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.568e-05/0.9455, allocations: 51.97 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.766e-05/0.9455, allocations: 112 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.9456, allocations: 25.7 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.9456, allocations: 86.73 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.9456, allocations: 5.125 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.9457, allocations: 18.95 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.9457, allocations: 318.4 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.733e-05/0.9458, allocations: 20.62 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.602e-05/0.9459, allocations: 20.12 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.9461, allocations: 50.09 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9461, allocations: 4 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002123/0.9463, allocations: 78.14 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.9463, allocations: 6.031 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.9463, allocations: 0 / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.9464, allocations: 0 / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.9464, allocations: 12.06 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.9465, allocations: 0 / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.9465, allocations: 15.69 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.9465, allocations: 5.094 kB / 1.093 GB, free: 2.016 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 6.071e-05/0.9466, allocations: 117.1 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.9466, allocations: 1.281 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.9469, allocations: 84.7 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9469, allocations: 1.188 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9469, allocations: 0 / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.9469, allocations: 79.05 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.947, allocations: 9.031 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.9471, allocations: 6.172 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.9471, allocations: 13.22 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000281/0.9474, allocations: 158.7 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002555/0.9477, allocations: 258.6 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001083/0.9478, allocations: 23.62 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.9478, allocations: 83.94 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of Backend: time 5.81e-07/0.9478, allocations: 0 / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.9483, allocations: 114.2 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004318/0.9487, allocations: 0.5714 MB / 1.094 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.003776/0.9525, allocations: 0.8638 MB / 1.095 GB, free: 16.56 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