Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_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.001659/0.001659, allocations: 107.1 kB / 16.41 MB, free: 6.52 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.001773/0.001773, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.57/1.57, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 60.12 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.003, allocations: 151.6 MB / 1.167 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002862/1.006, allocations: 1.531 MB / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004988/1.007, allocations: 136.4 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/1.007, allocations: 4 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/1.007, allocations: 3.938 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.61e-05/1.007, allocations: 11.91 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/1.007, allocations: 23.92 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.603e-05/1.007, allocations: 35.91 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/1.008, allocations: 16 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/1.008, allocations: 23.91 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/1.008, allocations: 15.92 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/1.008, allocations: 4 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/1.008, allocations: 15.98 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/1.008, allocations: 8 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/1.008, allocations: 19.86 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/1.008, allocations: 40.86 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.008, allocations: 4 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.984e-06/1.008, allocations: 7.938 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.703e-06/1.008, allocations: 0 / 1.169 GB, free: 2.098 MB / 0.8887 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.0006551/1.009, allocations: 355.3 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.009, allocations: 8.922 kB / 1.17 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/1.009, allocations: 4.938 kB / 1.17 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/1.009, allocations: 164.3 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/1.009, allocations: 8.375 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/1.009, allocations: 384 / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/1.009, allocations: 74.2 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.009, allocations: 192 / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/1.01, allocations: 3.938 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.01, allocations: 3.984 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/1.01, allocations: 43.95 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/1.01, allocations: 284.7 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/1.011, allocations: 58.55 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/1.011, allocations: 28.89 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004222/1.011, allocations: 393.5 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1.011, allocations: 34.56 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/1.011, allocations: 7.938 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005339/1.012, allocations: 105.5 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/1.012, allocations: 51.41 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/1.012, allocations: 105.8 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/1.012, allocations: 25.7 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/1.012, allocations: 88.14 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/1.012, allocations: 7.891 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/1.012, allocations: 25.7 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002488/1.013, allocations: 310.8 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/1.013, allocations: 19.98 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/1.013, allocations: 23.97 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/1.013, allocations: 48.75 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.013, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003491/1.014, allocations: 81.55 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.014, allocations: 10.66 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/1.014, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.014, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/1.014, allocations: 11.98 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.014, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/1.014, allocations: 11.98 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/1.014, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 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 0.0001182/1.014, allocations: 117.8 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/1.014, allocations: 0 / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/1.014, allocations: 89.48 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.014, allocations: 3.938 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.014, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/1.014, allocations: 81.06 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/1.015, allocations: 8.359 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/1.015, allocations: 4 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/1.015, allocations: 15.92 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004248/1.015, allocations: 156.9 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000439/1.016, allocations: 254.7 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000146/1.016, allocations: 19.98 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.26e-05/1.016, allocations: 87.27 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of Backend: time 9.22e-07/1.016, allocations: 7.938 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007263/1.017, allocations: 106.4 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009871/1.018, allocations: 0.5686 MB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of Templates: time 0.005342/1.023, allocations: 0.8599 MB / 1.174 GB, free: 12.95 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches