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.001422/0.001422, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.00157/0.00157, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1.02/1.02, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.119/2.119, allocations: 429.5 MB / 0.6743 GB, free: 3.879 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.222e-06/1.222e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.58e-05, allocations: 5.094 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00189/0.001906, allocations: 1.6 MB / 0.881 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.002254, allocations: 180.4 kB / 0.8811 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.002292, allocations: 4 kB / 0.8811 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.002317, allocations: 3.938 kB / 0.8811 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.00236, allocations: 1.531 kB / 0.8811 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.002647, allocations: 62.55 kB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.05e-05/0.002707, allocations: 33.88 kB / 0.8812 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.503e-05/0.002782, allocations: 8 kB / 0.8812 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.002818, allocations: 23.92 kB / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.389e-05/0.002852, allocations: 19.97 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.002865, allocations: 1.031 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.002964, allocations: 55.92 kB / 0.8813 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.002975, allocations: 4 kB / 0.8813 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.002992, allocations: 13 kB / 0.8814 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.003113, allocations: 67.78 kB / 0.8814 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003114, allocations: 0 / 0.8814 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003115, allocations: 1.094 kB / 0.8814 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.135e-06/0.003118, allocations: 3.938 kB / 0.8814 GB, free: 3.945 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.0003078/0.003426, allocations: 377.6 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.003456, allocations: 12.03 kB / 0.8818 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.003484, allocations: 8.891 kB / 0.8818 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.418e-05/0.003559, allocations: 109.6 kB / 0.8819 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.003575, allocations: 4.375 kB / 0.8819 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.003586, allocations: 384 / 0.8819 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.003689, allocations: 69.34 kB / 0.882 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.003696, allocations: 192 / 0.882 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.003704, allocations: 4.359 kB / 0.882 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.00371, allocations: 4.375 kB / 0.882 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.003737, allocations: 15.91 kB / 0.882 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.003966, allocations: 252.4 kB / 0.8822 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.004104, allocations: 49.05 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.004123, allocations: 11.75 kB / 0.8823 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-05/0.004216, allocations: 15.98 kB / 0.8823 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.004238, allocations: 38.11 kB / 0.8824 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.004238, allocations: 0 / 0.8824 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001249/0.004363, allocations: 55.22 kB / 0.8824 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.004389, allocations: 51.41 kB / 0.8825 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.004454, allocations: 173.9 kB / 0.8826 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.004464, allocations: 25.7 kB / 0.8826 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.00451, allocations: 143.2 kB / 0.8828 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.004524, allocations: 7.953 kB / 0.8828 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.004557, allocations: 24.55 kB / 0.8828 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.004674, allocations: 492.1 kB / 0.8833 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.004689, allocations: 7.984 kB / 0.8833 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-06/0.004698, allocations: 1.594 kB / 0.8833 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.004728, allocations: 19.69 kB / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.004729, allocations: 0 / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.573e-05/0.004785, allocations: 45.62 kB / 0.8834 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.004796, allocations: 11.94 kB / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.004801, allocations: 0 / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.00481, allocations: 4 kB / 0.8834 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.171e-05/0.004852, allocations: 7.984 kB / 0.8834 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-06/0.004855, allocations: 0 / 0.8834 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.004877, allocations: 11.95 kB / 0.8834 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.004881, allocations: 0 / 0.8834 GB, free: 1.742 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.747e-05/0.004949, allocations: 160.6 kB / 0.8835 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.004963, allocations: 0 / 0.8835 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.851e-05/0.005042, allocations: 57.31 kB / 0.8836 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.005044, allocations: 3.938 kB / 0.8836 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.005045, allocations: 0 / 0.8836 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005048, allocations: 384 / 0.8836 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.382e-05/0.005142, allocations: 109.2 kB / 0.8837 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005143, allocations: 0 / 0.8837 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.005168, allocations: 7.984 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.005169, allocations: 0 / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.005175, allocations: 4 kB / 0.8837 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005176, allocations: 0 / 0.8837 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.005178, allocations: 7.922 kB / 0.8837 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.819e-05/0.005267, allocations: 187.9 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.005273, allocations: 7.953 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-06/0.005282, allocations: 4 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.169e-05/0.005314, allocations: 4.234 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.005349, allocations: 11.92 kB / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.005353, allocations: 4 kB / 0.8839 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.318e-05/0.005386, allocations: 135.1 kB / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.005386, allocations: 0 / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001684/0.005554, allocations: 19.94 kB / 0.8841 GB, free: 0.9648 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.0001067/0.005661, allocations: 115.2 kB / 0.8842 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.37e-05/0.005725, allocations: 23.67 kB / 0.8842 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.005726, allocations: 0 / 0.8842 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.972e-05/0.005745, allocations: 15.69 kB / 0.8842 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.005897, allocations: 10.48 kB / 0.8842 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001872/0.006084, allocations: 130.1 kB / 0.8844 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.937e-05/0.006113, allocations: 59.34 kB / 0.8844 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.458e-05/0.006138, allocations: 8 kB / 0.8844 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.006181, allocations: 70.2 kB / 0.8845 GB, free: 488 kB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.006181, allocations: 0 / 0.8845 GB, free: 488 kB / 0.8386 GB Notification: Performance of Templates: time 0.002438/0.008619, allocations: 1.129 MB / 0.8856 GB, free: 15.36 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.280536948703229]