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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 112.3 kB / 16.41 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 185 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 75.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8214, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003046/0.8245, allocations: 1.539 MB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004573/0.8249, allocations: 179.5 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.825, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.825, allocations: 3.938 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.748e-05/0.8251, allocations: 3.938 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.8255, allocations: 51.88 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.245e-05/0.8256, allocations: 35.92 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.8257, allocations: 15.98 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.234e-05/0.8258, allocations: 19.92 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.8258, allocations: 15.92 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.8258, allocations: 4 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.826, allocations: 47.95 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.826, allocations: 7.984 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.826, allocations: 19.86 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.8262, allocations: 67.78 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8262, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8262, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8262, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 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.0004732/0.8267, allocations: 351.3 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.8267, allocations: 8.031 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.8268, allocations: 12.86 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.8269, allocations: 164.3 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.8269, allocations: 4.375 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.8269, allocations: 4.375 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.8271, allocations: 70.16 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.8272, allocations: 4.172 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.8272, allocations: 7.938 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.8272, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.8274, allocations: 47.89 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.8278, allocations: 278.6 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.8282, allocations: 62.53 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.8284, allocations: 24.91 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003222/0.8287, allocations: 170.1 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.8287, allocations: 34.55 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 2.705e-06/0.8287, allocations: 4 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003761/0.8291, allocations: 89.64 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.8292, allocations: 55.41 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.8292, allocations: 105.8 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.8293, allocations: 25.7 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.8293, allocations: 92.12 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.8293, allocations: 3.906 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.8295, allocations: 21.72 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002672/0.8298, allocations: 314.8 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.815e-05/0.8299, allocations: 27.91 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.399e-05/0.83, allocations: 19.98 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.8301, allocations: 44.81 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8302, allocations: 4 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002888/0.8304, allocations: 73.56 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.8305, allocations: 4 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8305, allocations: 0 / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.8305, allocations: 3.984 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.8306, allocations: 8 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.8306, allocations: 4 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.8307, allocations: 19.86 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.8307, allocations: 7.938 kB / 1.212 GB, free: 9.18 MB / 0.9356 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 7.227e-05/0.8308, allocations: 109.8 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.8308, allocations: 4 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.8311, allocations: 85.53 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.8311, allocations: 4 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.8311, allocations: 384 / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8311, allocations: 0 / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.8313, allocations: 173.6 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8313, allocations: 0 / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.8314, allocations: 15.98 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.8314, allocations: 3.984 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.8314, allocations: 0 / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8314, allocations: 3.938 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8314, allocations: 3.938 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.8317, allocations: 179.3 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.8317, allocations: 81.11 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.8318, allocations: 0 / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.8319, allocations: 7.984 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.8319, allocations: 4 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.8319, allocations: 4 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.832, allocations: 87.58 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.832, allocations: 0 / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000306/0.8323, allocations: 16 kB / 1.213 GB, free: 8.301 MB / 0.9356 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.0001841/0.8325, allocations: 119.3 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.8327, allocations: 47.89 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8327, allocations: 0 / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.8329, allocations: 27.97 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.8331, allocations: 9.953 kB / 1.213 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.8335, allocations: 155 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.8338, allocations: 0.6768 MB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.8338, allocations: 11.44 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.8339, allocations: 0 / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of Templates: time 0.002455/0.8363, allocations: 0.9804 MB / 1.215 GB, free: 6.215 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches