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.001219/0.001219, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001424/0.001424, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9135/0.9135, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.817/1.817, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.049e-05/8.217e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001794/0.001877, allocations: 1.547 MB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.002193, allocations: 144.2 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.002226, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.002254, allocations: 7.922 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.397e-05/0.002288, allocations: 3.938 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.002568, allocations: 35.89 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.002631, allocations: 35.86 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.002714, allocations: 8 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.002748, allocations: 19.98 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.002787, allocations: 23.91 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.0028, allocations: 0 / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.002872, allocations: 27.91 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.002884, allocations: 8 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.002904, allocations: 11.97 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003021, allocations: 51.86 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003023, allocations: 0 / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.103e-06/0.003024, allocations: 0 / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003028, allocations: 4 kB / 1.002 GB, free: 11.58 MB / 0.9636 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.0003426/0.003371, allocations: 278.2 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.003407, allocations: 8.75 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.003436, allocations: 34.75 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.003458, allocations: 8.891 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.31e-05/0.003531, allocations: 109.8 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.00355, allocations: 384 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.003559, allocations: 4.375 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.003689, allocations: 62.23 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.003697, allocations: 8.172 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.003705, allocations: 384 / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.00371, allocations: 4.125 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.003817, allocations: 47.89 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.004122, allocations: 236 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.004321, allocations: 62.42 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.004374, allocations: 28.89 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.592e-05/0.00447, allocations: 19.98 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.004488, allocations: 42.5 kB / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.004489, allocations: 0 / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.000225/0.004714, allocations: 93.62 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.004749, allocations: 51.41 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.00481, allocations: 113.8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.004821, allocations: 25.7 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.004858, allocations: 88.17 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.004877, allocations: 19.88 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.004905, allocations: 13.72 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.004983, allocations: 322.8 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.963e-05/0.005032, allocations: 15.98 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.005074, allocations: 23.91 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/0.00516, allocations: 49.05 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.005162, allocations: 0 / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000118/0.00528, allocations: 85.56 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.005291, allocations: 8 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005295, allocations: 0 / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.005306, allocations: 0 / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.00535, allocations: 11.98 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.005354, allocations: 0 / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.00538, allocations: 4 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.005386, allocations: 3.984 kB / 1.003 GB, free: 9.539 MB / 0.9636 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 5.61e-05/0.005442, allocations: 121.8 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.005458, allocations: 7.891 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.005607, allocations: 81.64 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005609, allocations: 0 / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.005613, allocations: 0 / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.005616, allocations: 0 / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.005724, allocations: 140.7 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005725, allocations: 0 / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.005758, allocations: 11.98 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.005759, allocations: 7.938 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.005766, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.005767, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005768, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.005919, allocations: 175.4 kB / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.00593, allocations: 7.953 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.005941, allocations: 0 / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.005983, allocations: 7.984 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.006029, allocations: 15.98 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.006032, allocations: 0 / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.111e-05/0.006063, allocations: 83.28 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006063, allocations: 0 / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001619/0.006225, allocations: 12 kB / 1.004 GB, free: 8.797 MB / 0.9636 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.0003739/0.006599, allocations: 0.7084 MB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.00674, allocations: 51.94 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.006741, allocations: 0 / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.438e-05/0.006795, allocations: 23.98 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.00699, allocations: 4 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.007939, allocations: 1.304 MB / 1.006 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.00798, allocations: 67.34 kB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.24e-05/0.008002, allocations: 4 kB / 1.006 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.008036, allocations: 20.48 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of SimCode: time 3.91e-07/0.008036, allocations: 0 / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.02562, allocations: 2.39 MB / 1.008 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/6.865, allocations: 4.094 kB / 1.008 GB, free: 4.23 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.101854166015983]