Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Binomial.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.001313/0.001313, allocations: 112.7 kB / 16.45 MB, free: 6.488 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.001597/0.001597, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.265/3.265, allocations: 0.49 GB / 0.7916 GB, free: 33.34 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.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Binomial",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.002165/0.002165, allocations: 71.58 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3911, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002985/0.3941, allocations: 1.557 MB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005063/0.3946, allocations: 183.4 kB / 1.323 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.3947, allocations: 4 kB / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.3947, allocations: 0 / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.3947, allocations: 3.938 kB / 1.323 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.3951, allocations: 51.88 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.014e-05/0.3952, allocations: 39.84 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3953, allocations: 15.98 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.3953, allocations: 11.98 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.3954, allocations: 15.92 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.3954, allocations: 4 kB / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3955, allocations: 51.94 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.3955, allocations: 11.94 kB / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.3956, allocations: 15.92 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.3957, allocations: 68.02 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3957, allocations: 3.984 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3957, allocations: 3.938 kB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.3958, allocations: 0 / 1.323 GB, free: 1.277 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.0005991/0.3964, allocations: 351.3 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3964, allocations: 11.98 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.3964, allocations: 38.75 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.3965, allocations: 12.83 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3966, allocations: 168.4 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.3967, allocations: 384 / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3967, allocations: 4.375 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.3969, allocations: 66.16 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3969, allocations: 3.938 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3969, allocations: 0 / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3969, allocations: 4 kB / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.3971, allocations: 51.94 kB / 1.323 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.3976, allocations: 276.7 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.398, allocations: 62.47 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3981, allocations: 24.91 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.3983, allocations: 166.2 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3984, allocations: 42.55 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.3984, allocations: 0 / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004106/0.3988, allocations: 85.64 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3988, allocations: 51.41 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3989, allocations: 125.7 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3989, allocations: 25.7 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.399, allocations: 84.12 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.399, allocations: 11.89 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.3991, allocations: 13.72 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3992, allocations: 322.8 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3993, allocations: 15.97 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.221e-05/0.3994, allocations: 23.98 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.3996, allocations: 48.81 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3996, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002361/0.3998, allocations: 73.94 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3998, allocations: 8 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3998, allocations: 320 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3999, allocations: 3.984 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.3999, allocations: 19.97 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4, allocations: 0 / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.4, allocations: 11.94 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4, allocations: 3.984 kB / 1.325 GB, free: 14.84 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 (bin.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.0001102/0.4001, allocations: 117.8 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.4002, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.4005, allocations: 85.55 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4005, allocations: 3.984 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.4005, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4005, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.4007, allocations: 173.5 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4007, allocations: 3.938 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.252e-05/0.4007, allocations: 15.92 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4008, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4008, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4008, allocations: 4 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4008, allocations: 4 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.4011, allocations: 175.4 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.4011, allocations: 77.11 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.4011, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.4012, allocations: 8 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.4013, allocations: 7.984 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.4013, allocations: 4 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.4014, allocations: 91.27 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4014, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002548/0.4016, allocations: 15.94 kB / 1.326 GB, free: 13.96 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,bin.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.0007309/0.4024, allocations: 0.7357 MB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.4026, allocations: 47.94 kB / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4026, allocations: 0 / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.4027, allocations: 27.92 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.403, allocations: 1.719 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.4047, allocations: 1.296 MB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.4051, allocations: 0.6807 MB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.4051, allocations: 128 / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.4051, allocations: 19.42 kB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.4051, allocations: 96 / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.4319, allocations: 1.942 MB / 1.33 GB, free: 9.148 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.469, allocations: 12.62 kB / 1.33 GB, free: 9.145 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.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.35485400003381]