Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 111.7 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 193.5 kB / 21.22 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.988/2.988, allocations: 476.7 MB / 0.7635 GB, free: 10.16 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 1.108 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8478/0.8498, allocations: 168.7 MB / 1.272 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.00319/0.853, allocations: 1.559 MB / 1.274 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004421/0.8534, allocations: 143.6 kB / 1.274 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.8535, allocations: 0 / 1.274 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.8535, allocations: 3.938 kB / 1.274 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.8535, allocations: 3.938 kB / 1.274 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.8539, allocations: 31.91 kB / 1.274 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.754e-05/0.854, allocations: 39.91 kB / 1.274 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.8541, allocations: 11.98 kB / 1.274 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.8541, allocations: 11.94 kB / 1.274 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.8542, allocations: 27.91 kB / 1.274 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.8542, allocations: 4 kB / 1.274 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.8543, allocations: 15.98 kB / 1.274 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.8543, allocations: 11.98 kB / 1.274 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.8543, allocations: 15.86 kB / 1.274 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.8545, allocations: 49.64 kB / 1.274 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.8545, allocations: 0 / 1.274 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8545, allocations: 4 kB / 1.274 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.8545, allocations: 0 / 1.274 GB, free: 2.449 MB / 0.9669 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.0005816/0.8551, allocations: 351.4 kB / 1.275 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.8551, allocations: 8.031 kB / 1.275 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.8552, allocations: 38.75 kB / 1.275 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.8552, allocations: 0.9375 kB / 1.275 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.8554, allocations: 168.3 kB / 1.275 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.8554, allocations: 384 / 1.275 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.8554, allocations: 12.31 kB / 1.275 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.8556, allocations: 58.22 kB / 1.275 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.8556, allocations: 3.938 kB / 1.275 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.8557, allocations: 8 kB / 1.275 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.8557, allocations: 7.938 kB / 1.275 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.8559, allocations: 39.95 kB / 1.275 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.8563, allocations: 284.7 kB / 1.275 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.8567, allocations: 54.55 kB / 1.275 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.8568, allocations: 28.89 kB / 1.275 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/0.8571, allocations: 397.5 kB / 1.276 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.8572, allocations: 34.56 kB / 1.276 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.8572, allocations: 0 / 1.276 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004083/0.8576, allocations: 101.5 kB / 1.276 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.8576, allocations: 51.41 kB / 1.276 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.8577, allocations: 109.8 kB / 1.276 GB, free: 444 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.8577, allocations: 29.7 kB / 1.276 GB, free: 408 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.8578, allocations: 92.14 kB / 1.276 GB, free: 312 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.8578, allocations: 3.953 kB / 1.276 GB, free: 308 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.8579, allocations: 17.7 kB / 1.276 GB, free: 284 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.858, allocations: 322.8 kB / 1.276 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.8581, allocations: 19.98 kB / 1.276 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.491e-05/0.8582, allocations: 19.97 kB / 1.276 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.8584, allocations: 48.81 kB / 1.276 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8584, allocations: 0 / 1.276 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002238/0.8586, allocations: 77.55 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8586, allocations: 12 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.8586, allocations: 0 / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.8586, allocations: 0 / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.8587, allocations: 11.98 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.8587, allocations: 0 / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.711e-05/0.8588, allocations: 7.984 kB / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.8588, allocations: 4 kB / 1.277 GB, free: 15.75 MB / 0.9825 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.000125/0.8589, allocations: 118.1 kB / 1.277 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.859, allocations: 4 kB / 1.277 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.8592, allocations: 89.47 kB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.8592, allocations: 0 / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8592, allocations: 0 / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8592, allocations: 0 / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.8595, allocations: 177.5 kB / 1.277 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8595, allocations: 0 / 1.277 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.326e-05/0.8595, allocations: 11.98 kB / 1.277 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8595, allocations: 4 kB / 1.277 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.8595, allocations: 0 / 1.277 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.8595, allocations: 4 kB / 1.277 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8595, allocations: 3.984 kB / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.8598, allocations: 167.5 kB / 1.277 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.8599, allocations: 81.11 kB / 1.277 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.8599, allocations: 0 / 1.277 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.86, allocations: 11.98 kB / 1.277 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.86, allocations: 11.92 kB / 1.277 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.86, allocations: 0 / 1.277 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.033e-05/0.8601, allocations: 87.28 kB / 1.277 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8601, allocations: 0 / 1.277 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002315/0.8603, allocations: 15.89 kB / 1.277 GB, free: 14.87 MB / 0.9825 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.000702/0.8611, allocations: 0.7129 MB / 1.278 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.8613, allocations: 51.88 kB / 1.278 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8613, allocations: 3.938 kB / 1.278 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.8614, allocations: 23.98 kB / 1.278 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.8617, allocations: 4 kB / 1.278 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.8635, allocations: 1.301 MB / 1.279 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.8638, allocations: 0.6768 MB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.8639, allocations: 12.55 kB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.8639, allocations: 19.42 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.8639, allocations: 0 / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.8905, allocations: 1.679 MB / 1.282 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/8.949, allocations: 11.38 kB / 1.282 GB, free: 10.33 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac.y from file Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.341558253043331]