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.001654/0.001654, allocations: 109.1 kB / 16.46 MB, free: 6.504 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.001943/0.001943, allocations: 196.5 kB / 19.41 MB, free: 3.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.477/1.477, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.772/2.772, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] 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.002075/0.002075, allocations: 72.12 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.823, allocations: 168.7 MB / 1.269 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003145/0.8261, allocations: 1.54 MB / 1.27 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004437/0.8266, allocations: 135.6 kB / 1.27 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.8266, allocations: 4 kB / 1.27 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.8266, allocations: 7.922 kB / 1.27 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.8267, allocations: 3.938 kB / 1.27 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.827, allocations: 31.91 kB / 1.27 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.196e-05/0.8271, allocations: 39.91 kB / 1.27 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.8272, allocations: 12 kB / 1.27 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.8272, allocations: 15.92 kB / 1.27 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.8273, allocations: 19.91 kB / 1.271 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.8273, allocations: 4 kB / 1.271 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.8274, allocations: 19.98 kB / 1.271 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.8274, allocations: 7.984 kB / 1.271 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.8275, allocations: 19.88 kB / 1.271 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.8276, allocations: 45.64 kB / 1.271 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8276, allocations: 0 / 1.271 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8277, allocations: 0 / 1.271 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.8277, allocations: 0 / 1.271 GB, free: 3.402 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.0005854/0.8282, allocations: 363.3 kB / 1.271 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.8283, allocations: 8.031 kB / 1.271 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.8283, allocations: 30.75 kB / 1.271 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.8284, allocations: 4.938 kB / 1.271 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.8285, allocations: 172.3 kB / 1.271 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.8286, allocations: 12.31 kB / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.8286, allocations: 384 / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.8288, allocations: 66.23 kB / 1.271 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.8288, allocations: 3.938 kB / 1.271 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.8288, allocations: 3.938 kB / 1.271 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.8288, allocations: 0 / 1.271 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.829, allocations: 43.95 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.8295, allocations: 288.7 kB / 1.272 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.8298, allocations: 58.53 kB / 1.272 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.8299, allocations: 24.91 kB / 1.272 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.8303, allocations: 397.5 kB / 1.272 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.8303, allocations: 38.55 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.8303, allocations: 0 / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004233/0.8307, allocations: 101.5 kB / 1.272 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.8308, allocations: 55.41 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.8309, allocations: 105.8 kB / 1.272 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.8309, allocations: 25.7 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.831, allocations: 92.12 kB / 1.272 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.831, allocations: 3.953 kB / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.831, allocations: 17.72 kB / 1.272 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8312, allocations: 318.8 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.8312, allocations: 23.97 kB / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.8313, allocations: 24.16 kB / 1.273 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.8315, allocations: 40.81 kB / 1.273 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.8315, allocations: 0 / 1.273 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002281/0.8317, allocations: 85.55 kB / 1.273 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.8317, allocations: 4 kB / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8318, allocations: 320 / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.8318, allocations: 4 kB / 1.273 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.8318, allocations: 7.984 kB / 1.273 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.8319, allocations: 4 kB / 1.273 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/0.8319, allocations: 7.984 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.8319, allocations: 3.984 kB / 1.273 GB, free: 0.6836 MB / 0.9669 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.832, allocations: 117.8 kB / 1.273 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.8321, allocations: 4 kB / 1.273 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.8324, allocations: 85.48 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.8324, allocations: 4 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8324, allocations: 3.984 kB / 1.273 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8324, allocations: 3.938 kB / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.8326, allocations: 169.5 kB / 1.273 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8326, allocations: 0 / 1.273 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-05/0.8326, allocations: 19.92 kB / 1.273 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8326, allocations: 0 / 1.273 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.8327, allocations: 0 / 1.273 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8327, allocations: 0 / 1.273 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8327, allocations: 0 / 1.273 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.8329, allocations: 175.4 kB / 1.273 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/0.833, allocations: 85.11 kB / 1.274 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.833, allocations: 0 / 1.274 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.8331, allocations: 7.938 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.8332, allocations: 7.984 kB / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.8332, allocations: 4 kB / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.8332, allocations: 87.27 kB / 1.274 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8332, allocations: 0 / 1.274 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002407/0.8335, allocations: 15.94 kB / 1.274 GB, free: 15.8 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.0007101/0.8342, allocations: 0.7092 MB / 1.274 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.8344, allocations: 51.92 kB / 1.274 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8344, allocations: 4 kB / 1.274 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.8345, allocations: 27.97 kB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.8349, allocations: 8.422 kB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.8366, allocations: 1.276 MB / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.837, allocations: 0.6807 MB / 1.276 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.8371, allocations: 15.98 kB / 1.276 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.8371, allocations: 11.44 kB / 1.276 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of SimCode: time 4.2e-07/0.8371, allocations: 0 / 1.276 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.8621, allocations: 1.714 MB / 1.278 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/9.14, allocations: 14.58 kB / 1.278 GB, free: 11.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.210577419027686]