Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 110.6 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 214.5 kB / 22.25 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.39/3.39, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 69.95 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.433, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002797/0.4358, allocations: 1.57 MB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003745/0.4361, allocations: 135.6 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.4362, allocations: 0 / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.4362, allocations: 3.938 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.4362, allocations: 7.922 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.4365, allocations: 31.91 kB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.843e-05/0.4366, allocations: 35.91 kB / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.713e-05/0.4367, allocations: 8.281 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.4367, allocations: 23.92 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.824e-05/0.4368, allocations: 23.91 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.4368, allocations: 4 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.94e-05/0.4369, allocations: 19.98 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.4369, allocations: 7.984 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.4369, allocations: 15.88 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.437, allocations: 47.81 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.437, allocations: 0 / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.166e-06/0.437, allocations: 3.984 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.437, allocations: 0 / 1.355 GB, free: 6.492 MB / 1.045 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.0004666/0.4375, allocations: 280.2 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.4375, allocations: 8.031 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.4376, allocations: 38.75 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.4376, allocations: 4.891 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.4377, allocations: 118.4 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.4377, allocations: 384 / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.4377, allocations: 8.375 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.4379, allocations: 66.14 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.438, allocations: 7.938 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.438, allocations: 4 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.438, allocations: 0 / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.4382, allocations: 43.95 kB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.4386, allocations: 255.8 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.4389, allocations: 54.55 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.439, allocations: 28.89 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.4391, allocations: 19.98 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.4391, allocations: 30.56 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4391, allocations: 0 / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0003948/0.4395, allocations: 105.5 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.4396, allocations: 55.41 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.4396, allocations: 105.8 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.4397, allocations: 25.7 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.4397, allocations: 88.14 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.4397, allocations: 3.953 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.4398, allocations: 21.66 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4399, allocations: 318.8 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.132e-05/0.44, allocations: 23.98 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.4401, allocations: 23.97 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.4403, allocations: 36.83 kB / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4403, allocations: 0 / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002192/0.4405, allocations: 81.58 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4405, allocations: 8 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4405, allocations: 336 / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4405, allocations: 4 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.691e-05/0.4406, allocations: 7.984 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.4406, allocations: 4 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.871e-05/0.4407, allocations: 11.89 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.4407, allocations: 3.984 kB / 1.357 GB, free: 4.438 MB / 1.045 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 9.369e-05/0.4408, allocations: 121.7 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.4408, allocations: 8 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.4411, allocations: 85.58 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4411, allocations: 7.938 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4411, allocations: 0 / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4411, allocations: 0 / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.4412, allocations: 140.7 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4412, allocations: 0 / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.73e-05/0.4413, allocations: 11.98 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4413, allocations: 4 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.4413, allocations: 0 / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4413, allocations: 0 / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4413, allocations: 0 / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.4416, allocations: 183.3 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.4416, allocations: 4 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4416, allocations: 4 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.4417, allocations: 7.984 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.4418, allocations: 11.98 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.4418, allocations: 0 / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.4418, allocations: 83.28 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4418, allocations: 4 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002318/0.4421, allocations: 8 kB / 1.357 GB, free: 3.688 MB / 1.045 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.0006489/0.4427, allocations: 0.7124 MB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.4429, allocations: 51.88 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4429, allocations: 0 / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.531e-05/0.443, allocations: 19.98 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.4434, allocations: 17.5 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.445, allocations: 1.284 MB / 1.359 GB, free: 1.5 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4453, allocations: 0.6768 MB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.4454, allocations: 8 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.4454, allocations: 23.41 kB / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of SimCode: time 6.31e-07/0.4454, allocations: 0 / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.4776, allocations: 1.816 MB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.15, allocations: 7.594 kB / 1.362 GB, free: 15.07 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable falFac.y in file Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac.y from file Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.488792693000505]