Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001887/0.001888, allocations: 114.6 kB / 16.42 MB, free: 6.48 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.002229/0.00223, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.473/1.473, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 472.7 MB / 0.746 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.91 kB / 1.07 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001933/1.06, allocations: 0.587 MB / 1.227 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003412/1.06, allocations: 55.78 kB / 1.227 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/1.06, allocations: 4 kB / 1.227 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/1.06, allocations: 3.938 kB / 1.227 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/1.06, allocations: 0 / 1.227 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000343/1.061, allocations: 15.92 kB / 1.227 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.823e-05/1.061, allocations: 35.95 kB / 1.227 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/1.061, allocations: 4 kB / 1.227 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.937e-05/1.061, allocations: 8 kB / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/1.061, allocations: 15.97 kB / 1.227 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/1.061, allocations: 7.938 kB / 1.227 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/1.061, allocations: 15.98 kB / 1.227 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/1.061, allocations: 8 kB / 1.227 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/1.061, allocations: 19.84 kB / 1.227 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/1.061, allocations: 31.91 kB / 1.227 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.061, allocations: 4 kB / 1.227 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.542e-06/1.061, allocations: 0 / 1.227 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.593e-06/1.061, allocations: 0 / 1.227 GB, free: 12.67 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000375/1.062, allocations: 346.2 kB / 1.228 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.062, allocations: 8.031 kB / 1.228 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/1.062, allocations: 4.938 kB / 1.228 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/1.062, allocations: 176.2 kB / 1.228 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/1.062, allocations: 384 / 1.228 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/1.062, allocations: 8.375 kB / 1.228 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/1.062, allocations: 58.23 kB / 1.228 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.062, allocations: 4.188 kB / 1.228 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/1.062, allocations: 3.938 kB / 1.228 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.062, allocations: 0 / 1.228 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/1.062, allocations: 107.9 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/1.062, allocations: 181.5 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/1.062, allocations: 70.55 kB / 1.228 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/1.062, allocations: 28.84 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/1.063, allocations: 401.5 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/1.063, allocations: 30.56 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.542e-06/1.063, allocations: 0 / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0002743/1.063, allocations: 125.8 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/1.063, allocations: 55.34 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.594e-05/1.063, allocations: 97.81 kB / 1.229 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/1.063, allocations: 29.7 kB / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/1.063, allocations: 80.14 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/1.063, allocations: 23.8 kB / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/1.063, allocations: 29.7 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.064, allocations: 318.8 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/1.064, allocations: 23.98 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/1.064, allocations: 19.98 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.935e-05/1.064, allocations: 56.84 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.064, allocations: 0 / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001568/1.064, allocations: 98.19 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.064, allocations: 5.094 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.064, allocations: 3.938 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.064, allocations: 3.938 kB / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/1.064, allocations: 19.98 kB / 1.229 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.064, allocations: 0 / 1.229 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/1.064, allocations: 15.95 kB / 1.23 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/1.064, allocations: 0 / 1.23 GB, free: 9.977 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000145/1.064, allocations: 122.4 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/1.064, allocations: 4 kB / 1.23 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/1.065, allocations: 133.4 kB / 1.23 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.065, allocations: 0 / 1.23 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.065, allocations: 0 / 1.23 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/1.065, allocations: 89.05 kB / 1.23 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/1.065, allocations: 4 kB / 1.23 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/1.065, allocations: 0 / 1.23 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/1.065, allocations: 7.984 kB / 1.23 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000176/1.065, allocations: 180.9 kB / 1.23 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002164/1.065, allocations: 278.6 kB / 1.23 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.602e-05/1.065, allocations: 27.98 kB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.603e-05/1.065, allocations: 79.28 kB / 1.23 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of Backend: time 6.82e-07/1.065, allocations: 0 / 1.23 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004652/1.066, allocations: 126.3 kB / 1.231 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004048/1.066, allocations: 0.5643 MB / 1.231 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of Templates: time 0.003372/1.069, allocations: 0.8204 MB / 1.232 GB, free: 7.449 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches