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.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.00123/0.00123, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009698/0.0009698, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 18.57 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 0.9667/0.9667, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.123/2.123, allocations: 429.5 MB / 0.6733 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.617e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002143/0.002169, allocations: 1.601 MB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003821/0.002551, allocations: 184.1 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.002588, allocations: 0 / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.00262, allocations: 4.812 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.002663, allocations: 5.25 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.003007, allocations: 56.58 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.713e-05/0.003074, allocations: 41.53 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.071e-05/0.003155, allocations: 8 kB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.003191, allocations: 21.55 kB / 0.88 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.003227, allocations: 19.97 kB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.003243, allocations: 4 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.003348, allocations: 47.94 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.003359, allocations: 7.984 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.003379, allocations: 12.97 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.003521, allocations: 75.77 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003523, allocations: 5 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003524, allocations: 0 / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003527, allocations: 0 / 0.8802 GB, free: 4.23 MB / 0.8386 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.0003552/0.003883, allocations: 373.6 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.003918, allocations: 12.03 kB / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.003955, allocations: 4.891 kB / 0.8806 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.141e-05/0.004037, allocations: 113.8 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.004057, allocations: 4.375 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.004068, allocations: 384 / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.004201, allocations: 63.81 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.004211, allocations: 192 / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.004221, allocations: 5.094 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.004229, allocations: 384 / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.004269, allocations: 25.52 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.004571, allocations: 271.7 kB / 0.881 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.00474, allocations: 39.11 kB / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.004765, allocations: 20.17 kB / 0.8811 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.004893, allocations: 21.77 kB / 0.8811 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.004913, allocations: 37.33 kB / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.004915, allocations: 0 / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001508/0.005065, allocations: 49.69 kB / 0.8812 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.005087, allocations: 51.94 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.005155, allocations: 166.9 kB / 0.8814 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.005163, allocations: 25.7 kB / 0.8814 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.005211, allocations: 146.7 kB / 0.8816 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.005225, allocations: 5.547 kB / 0.8816 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.005253, allocations: 23.38 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.005355, allocations: 496.1 kB / 0.8821 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.005374, allocations: 7.922 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.005387, allocations: 6.594 kB / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.548e-05/0.005423, allocations: 19.69 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005425, allocations: 0 / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.332e-05/0.005488, allocations: 49.62 kB / 0.8822 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.005501, allocations: 8 kB / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005506, allocations: 0 / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.005519, allocations: 0 / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.005567, allocations: 9.922 kB / 0.8822 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.005573, allocations: 4 kB / 0.8822 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.005593, allocations: 7.891 kB / 0.8822 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.005597, allocations: 0 / 0.8822 GB, free: 2.008 MB / 0.8386 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 6.569e-05/0.005663, allocations: 168.6 kB / 0.8824 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.005679, allocations: 3.938 kB / 0.8824 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-05/0.005775, allocations: 49.38 kB / 0.8824 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005777, allocations: 0 / 0.8824 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.005781, allocations: 4 kB / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.005784, allocations: 3.984 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.361e-05/0.005878, allocations: 120.7 kB / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005879, allocations: 0 / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.005908, allocations: 8 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.00591, allocations: 0 / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.005916, allocations: 7.938 kB / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.005917, allocations: 256 / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005918, allocations: 0 / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.644e-05/0.006014, allocations: 204.2 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.006021, allocations: 7.953 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.006033, allocations: 11.88 kB / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.168e-05/0.006065, allocations: 0 / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.006107, allocations: 12.02 kB / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.00611, allocations: 0 / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.28e-05/0.006142, allocations: 127.2 kB / 0.8829 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006142, allocations: 0 / 0.8829 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001703/0.006313, allocations: 27.92 kB / 0.8829 GB, free: 1.191 MB / 0.8386 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.0001267/0.006439, allocations: 111.2 kB / 0.883 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.006526, allocations: 23.62 kB / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.006527, allocations: 0 / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.006552, allocations: 19.67 kB / 0.8831 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.006718, allocations: 8 kB / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002459/0.006964, allocations: 126.2 kB / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.25e-05/0.006996, allocations: 59.34 kB / 0.8832 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.772e-05/0.007014, allocations: 4 kB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.007041, allocations: 12.5 kB / 0.8833 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of SimCode: time 7.42e-07/0.007042, allocations: 0 / 0.8833 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of Templates: time 0.002599/0.009641, allocations: 1.018 MB / 0.8843 GB, free: 15.76 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.380758529994637]