Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00178/0.00178, allocations: 108.7 kB / 16.46 MB, free: 6.453 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.001516/0.001516, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.614/1.614, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.276/3.276, allocations: 0.49 GB / 0.7916 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_12_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.003269/0.003269, allocations: 73.38 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3976, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003024/0.4006, allocations: 1.566 MB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004183/0.401, allocations: 123.6 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.4011, allocations: 4 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.4011, allocations: 7.922 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.055e-05/0.4012, allocations: 3.938 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.4015, allocations: 35.89 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.758e-05/0.4016, allocations: 31.98 kB / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.4017, allocations: 15.92 kB / 1.323 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.4017, allocations: 15.92 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.4017, allocations: 23.91 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.4018, allocations: 4 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.428e-05/0.4018, allocations: 19.98 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.4019, allocations: 11.92 kB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.4019, allocations: 15.94 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.402, allocations: 48.08 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4021, allocations: 0 / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4021, allocations: 0 / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4021, allocations: 0 / 1.323 GB, free: 1.418 MB / 1.014 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.0005507/0.4026, allocations: 359.3 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4027, allocations: 11.98 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.4027, allocations: 30.75 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.4027, allocations: 8.891 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.4029, allocations: 168.3 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.4029, allocations: 8.375 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.4029, allocations: 384 / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.4031, allocations: 70.16 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4032, allocations: 3.938 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4032, allocations: 7.938 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.4032, allocations: 0 / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.4034, allocations: 43.95 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.4038, allocations: 280.8 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.4042, allocations: 66.53 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.4043, allocations: 20.84 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/0.4046, allocations: 401.5 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.4047, allocations: 30.56 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4047, allocations: 0 / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004202/0.4051, allocations: 101.6 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.4051, allocations: 51.41 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.181e-05/0.4052, allocations: 113.8 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.4052, allocations: 25.7 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.4053, allocations: 92.12 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.4053, allocations: 3.953 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.4053, allocations: 17.72 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4055, allocations: 318.8 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/0.4056, allocations: 23.98 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.364e-05/0.4057, allocations: 23.98 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.4059, allocations: 40.81 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4059, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002336/0.4061, allocations: 77.59 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4061, allocations: 8 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.4061, allocations: 7.922 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4061, allocations: 4 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.4062, allocations: 8 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4062, allocations: 3.984 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.4063, allocations: 11.89 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.4063, allocations: 4 kB / 1.325 GB, free: 14.69 MB / 1.029 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.0001006/0.4064, allocations: 114.1 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.4064, allocations: 7.984 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.4067, allocations: 93.47 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4067, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4067, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4067, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.4069, allocations: 165.6 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4069, allocations: 0 / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-05/0.407, allocations: 11.98 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.407, allocations: 4 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.407, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.407, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.407, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.4073, allocations: 183.3 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.4074, allocations: 81.11 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.4074, allocations: 0 / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.4075, allocations: 11.98 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.4075, allocations: 8 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.4075, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.838e-05/0.4076, allocations: 91.2 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4076, allocations: 4 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002353/0.4078, allocations: 8 kB / 1.326 GB, free: 13.82 MB / 1.029 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.0006587/0.4085, allocations: 0.7124 MB / 1.326 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.4087, allocations: 43.95 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4087, allocations: 3.938 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.4088, allocations: 23.97 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.4091, allocations: 8 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.4107, allocations: 1.288 MB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.411, allocations: 0.6846 MB / 1.328 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.411, allocations: 8 kB / 1.328 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.4111, allocations: 11.44 kB / 1.328 GB, free: 10.9 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4111, allocations: 0 / 1.328 GB, free: 10.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.4357, allocations: 1.721 MB / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.499, allocations: 6.906 kB / 1.33 GB, free: 9.27 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 Buildings_12_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac.y from file Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.660974611062557]