Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.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.001327/0.001327, allocations: 107.6 kB / 16.45 MB, free: 6.508 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.001336/0.001336, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.228/3.228, allocations: 497.2 MB / 0.7811 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 72.41 kB / 1.134 GB, free: 33.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3647, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003519/0.3682, allocations: 1.531 MB / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006405/0.3689, allocations: 179.5 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.3689, allocations: 0 / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.369, allocations: 3.938 kB / 1.306 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.164e-05/0.369, allocations: 7.922 kB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.3694, allocations: 47.89 kB / 1.306 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3695, allocations: 39.73 kB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3697, allocations: 12 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.3697, allocations: 15.92 kB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.633e-05/0.3698, allocations: 27.91 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3698, allocations: 0 / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.3699, allocations: 51.95 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.37, allocations: 8 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.37, allocations: 15.91 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.3702, allocations: 68 kB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3702, allocations: 0 / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.928e-06/0.3702, allocations: 0 / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.3702, allocations: 4 kB / 1.306 GB, free: 15.52 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.0006463/0.3708, allocations: 363.2 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3709, allocations: 12.62 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.3709, allocations: 30.75 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.371, allocations: 8.922 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.3711, allocations: 168.3 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.3712, allocations: 384 / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.3712, allocations: 4.375 kB / 1.306 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.3714, allocations: 66.22 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3714, allocations: 3.938 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3714, allocations: 0 / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3714, allocations: 4 kB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.3716, allocations: 47.89 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.3722, allocations: 276.7 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.3725, allocations: 66.47 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3726, allocations: 24.91 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.3729, allocations: 170.2 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.3729, allocations: 38.55 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3729, allocations: 0 / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0003946/0.3733, allocations: 93.64 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3733, allocations: 51.41 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3734, allocations: 113.8 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3735, allocations: 25.7 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.3735, allocations: 92.08 kB / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.3735, allocations: 3.953 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.3736, allocations: 21.72 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3737, allocations: 318.8 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.3738, allocations: 19.97 kB / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.3739, allocations: 24.11 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.3741, allocations: 52.89 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3741, allocations: 0 / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002094/0.3743, allocations: 69.66 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3743, allocations: 8 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3743, allocations: 0 / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3743, allocations: 3.984 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.3744, allocations: 12 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3744, allocations: 0 / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.3745, allocations: 7.984 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3745, allocations: 0 / 1.308 GB, free: 13.09 MB / 1.014 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 9.986e-05/0.3746, allocations: 125.7 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.3746, allocations: 3.953 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.3749, allocations: 93.53 kB / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3749, allocations: 0 / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3749, allocations: 3.938 kB / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3749, allocations: 0 / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.3751, allocations: 173.5 kB / 1.308 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3751, allocations: 4 kB / 1.308 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.3752, allocations: 11.98 kB / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3752, allocations: 3.938 kB / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3752, allocations: 4 kB / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3752, allocations: 0 / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3752, allocations: 0 / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.3755, allocations: 179.4 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.3756, allocations: 81.06 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3756, allocations: 0 / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.3757, allocations: 7.984 kB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.3757, allocations: 8 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3757, allocations: 0 / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.01e-05/0.3758, allocations: 91.27 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3758, allocations: 0 / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002565/0.376, allocations: 12 kB / 1.309 GB, free: 12.2 MB / 1.014 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.0007406/0.3768, allocations: 0.7318 MB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.377, allocations: 44.14 kB / 1.31 GB, free: 11.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.377, allocations: 4 kB / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.781e-05/0.3771, allocations: 28.06 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.3774, allocations: 5.969 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.379, allocations: 1.296 MB / 1.311 GB, free: 9.988 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.3794, allocations: 0.6846 MB / 1.312 GB, free: 9.277 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.3794, allocations: 96 / 1.312 GB, free: 9.277 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.3795, allocations: 23.36 kB / 1.312 GB, free: 9.254 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/0.3795, allocations: 3.938 kB / 1.312 GB, free: 9.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.4074, allocations: 1.934 MB / 1.313 GB, free: 7.395 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.436, allocations: 5.266 kB / 1.313 GB, free: 7.391 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.26637690095231]