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.001286/0.001286, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001525/0.001525, allocations: 218 kB / 22.26 MB, free: 5.125 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.965 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.335/3.335, allocations: 0.49 GB / 0.7951 GB, free: 33.47 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.002105/0.002105, allocations: 63.3 kB / 1.154 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.4617, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003482/0.4652, allocations: 1.556 MB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004891/0.4657, allocations: 131.6 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.4657, allocations: 0 / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.4658, allocations: 7.938 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.423e-05/0.4658, allocations: 11.92 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.4662, allocations: 35.91 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.4663, allocations: 35.91 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.4665, allocations: 12.22 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/0.4665, allocations: 15.98 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.4666, allocations: 19.91 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.4666, allocations: 4 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.4667, allocations: 19.98 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.4668, allocations: 11.92 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.4668, allocations: 15.94 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.467, allocations: 47.81 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.467, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.414e-06/0.467, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.467, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 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.0006526/0.4677, allocations: 282.2 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.4677, allocations: 8.031 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.4678, allocations: 38.75 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.4678, allocations: 4.891 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.468, allocations: 126.4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.468, allocations: 384 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.468, allocations: 8.312 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.4683, allocations: 58.23 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4683, allocations: 3.938 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.4683, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4683, allocations: 4 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.4685, allocations: 43.95 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.469, allocations: 259.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.4694, allocations: 54.55 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.4695, allocations: 28.89 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.4696, allocations: 15.98 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.4697, allocations: 38.56 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.4697, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004199/0.4701, allocations: 101.7 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.4701, allocations: 51.41 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4703, allocations: 117.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4703, allocations: 25.7 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.4703, allocations: 88.14 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.4704, allocations: 7.953 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.4704, allocations: 13.72 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4706, allocations: 322.8 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-05/0.4707, allocations: 15.98 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.4707, allocations: 23.97 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.4709, allocations: 44.83 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4709, allocations: 3.938 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002284/0.4711, allocations: 77.64 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4712, allocations: 4 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4712, allocations: 3.938 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4712, allocations: 4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/0.4713, allocations: 7.984 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4713, allocations: 8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.4713, allocations: 7.938 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.4713, allocations: 3.984 kB / 1.33 GB, free: 13.91 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 9.726e-05/0.4714, allocations: 117.8 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.4715, allocations: 3.953 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.4718, allocations: 85.58 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4718, allocations: 4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4718, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4718, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.4719, allocations: 140.7 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4719, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.646e-05/0.472, allocations: 11.98 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.472, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.472, allocations: 7.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.472, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.472, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.4723, allocations: 183.4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.4723, allocations: 7.953 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.4724, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.4724, allocations: 7.984 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.4725, allocations: 7.984 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.4725, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.864e-05/0.4726, allocations: 91.28 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4726, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002304/0.4728, allocations: 8 kB / 1.33 GB, free: 13.16 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.0006473/0.4734, allocations: 0.7127 MB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.4737, allocations: 55.88 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4737, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.4738, allocations: 23.98 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.4741, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.4758, allocations: 1.303 MB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4761, allocations: 0.6845 MB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.15e-05/0.4761, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.4762, allocations: 19.42 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4762, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.5062, allocations: 1.818 MB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.77, allocations: 5.938 kB / 1.335 GB, free: 8.551 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.977126248180866]