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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.009915/0.009915, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004434, allocations: 8 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6012/0.6017, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001672/0.6034, allocations: 1.26 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004099/0.6039, allocations: 136.4 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.6039, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.6039, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.604, allocations: 3.938 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.6042, allocations: 23.97 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.399e-05/0.6043, allocations: 39.91 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.6044, allocations: 11.98 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.6045, allocations: 19.91 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.74e-05/0.6045, allocations: 19.92 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.6046, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.524e-05/0.6046, allocations: 8 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.6047, allocations: 7.984 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.6047, allocations: 41.58 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.6048, allocations: 47.86 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.6048, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6048, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.6048, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 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.0004315/0.6053, allocations: 345.8 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.6053, allocations: 8.031 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.6054, allocations: 42.67 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.6054, allocations: 8.844 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.6055, allocations: 172.3 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.6056, allocations: 384 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.6056, allocations: 4.375 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.6058, allocations: 66.22 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6058, allocations: 3.938 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.6058, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6058, allocations: 4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.606, allocations: 59.89 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.6064, allocations: 280.7 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.6067, allocations: 70.53 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.6069, allocations: 28.91 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.6071, allocations: 405.5 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.6071, allocations: 38.5 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6072, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004035/0.6076, allocations: 109.6 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.6076, allocations: 55.41 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.6077, allocations: 113.8 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.6077, allocations: 25.7 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.6077, allocations: 84.05 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.6078, allocations: 7.906 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.6078, allocations: 13.72 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.6079, allocations: 318.7 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.608, allocations: 31.97 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-05/0.6081, allocations: 23.98 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.6083, allocations: 64.75 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6083, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002342/0.6086, allocations: 77.66 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.6086, allocations: 8 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6086, allocations: 3.984 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.6086, allocations: 4 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.6087, allocations: 8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6087, allocations: 3.984 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.6088, allocations: 15.94 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.6088, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 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 7.793e-05/0.6089, allocations: 118.2 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.6089, allocations: 8.234 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.6092, allocations: 101.5 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6092, allocations: 4 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6092, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.6092, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.6094, allocations: 169.6 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6094, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-05/0.6095, allocations: 15.98 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.6095, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.6095, allocations: 4 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6095, allocations: 3.938 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6095, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.6098, allocations: 187.4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.6098, allocations: 85.02 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.6099, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.61, allocations: 7.984 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.61, allocations: 12 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.61, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.6101, allocations: 91.27 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6101, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002324/0.6103, allocations: 8 kB / 1.028 GB, free: 10.56 MB / 0.7794 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.0005342/0.6109, allocations: 0.7241 MB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.6111, allocations: 59.95 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6111, allocations: 0 / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.6112, allocations: 31.97 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.6115, allocations: 7.938 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.6129, allocations: 1.322 MB / 1.03 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.6131, allocations: 0.6809 MB / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.6131, allocations: 0 / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.6132, allocations: 19.42 kB / 1.031 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6132, allocations: 0 / 1.031 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.6237, allocations: 1.415 MB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.6239, allocations: 202.2 kB / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.325, allocations: 7.875 kB / 1.032 GB, free: 6.027 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > 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