Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.252/2.252, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 172.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 221.3 MB / 0.7915 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009425/0.0009425, allocations: 91.75 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/4.008e-05, allocations: 6.266 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3436, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.481, allocations: 150 MB / 1.365 GB, free: 3.984 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.481, allocations: 74.33 kB / 1.365 GB, free: 3.945 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002682/1.484, allocations: 0.7865 MB / 1.366 GB, free: 3.223 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.284e-06/1.484, allocations: 4 kB / 1.366 GB, free: 3.219 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.727e-06/1.484, allocations: 0 / 1.366 GB, free: 3.219 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004423/1.484, allocations: 333.4 kB / 1.366 GB, free: 2.852 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.484, allocations: 8.031 kB / 1.366 GB, free: 2.844 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/1.484, allocations: 4.625 kB / 1.366 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/1.485, allocations: 170.9 kB / 1.367 GB, free: 2.633 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/1.485, allocations: 4 kB / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/1.485, allocations: 4 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/1.485, allocations: 47.25 kB / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/1.485, allocations: 0 / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/1.485, allocations: 0 / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/1.485, allocations: 0 / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.412e-05/1.485, allocations: 11.59 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/1.485, allocations: 277.4 kB / 1.367 GB, free: 2.262 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.8e-05/1.485, allocations: 30.19 kB / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/1.485, allocations: 15.36 kB / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/1.486, allocations: 4 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/1.486, allocations: 30.56 kB / 1.367 GB, free: 2.168 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/1.486, allocations: 2.188 kB / 1.367 GB, free: 2.168 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001781/1.486, allocations: 52.06 kB / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/1.486, allocations: 51.41 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/1.486, allocations: 99.64 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/1.486, allocations: 29.64 kB / 1.367 GB, free: 1.918 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/1.486, allocations: 90.88 kB / 1.367 GB, free: 1.828 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/1.486, allocations: 11.83 kB / 1.367 GB, free: 1.816 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/1.486, allocations: 0 / 1.367 GB, free: 1.816 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.486, allocations: 313.8 kB / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/1.486, allocations: 11.03 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/1.486, allocations: 7.938 kB / 1.368 GB, free: 1.488 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/1.486, allocations: 10.42 kB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.486, allocations: 4 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.465e-05/1.486, allocations: 48.11 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.486, allocations: 4 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.486, allocations: 0 / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.486, allocations: 3.984 kB / 1.368 GB, free: 1.422 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/1.487, allocations: 19.28 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/1.487, allocations: 0 / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/1.487, allocations: 7.984 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/1.487, allocations: 7.891 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.81e-05/1.487, allocations: 105 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/1.487, allocations: 0 / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/1.487, allocations: 59.33 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.487, allocations: 8.031 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.487, allocations: 0 / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/1.487, allocations: 0 / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/1.487, allocations: 159.9 kB / 1.368 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.487, allocations: 3.984 kB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/1.487, allocations: 12 kB / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.487, allocations: 0 / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/1.487, allocations: 0 / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.487, allocations: 0 / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.487, allocations: 7.984 kB / 1.368 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/1.487, allocations: 145.8 kB / 1.368 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/1.487, allocations: 85 kB / 1.368 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/1.488, allocations: 3.125 kB / 1.368 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/1.488, allocations: 8 kB / 1.368 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/1.488, allocations: 3.984 kB / 1.368 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/1.488, allocations: 8.016 kB / 1.368 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.665e-05/1.488, allocations: 87.34 kB / 1.368 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.7e-07/1.488, allocations: 0 / 1.368 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002261/1.488, allocations: 12 kB / 1.368 GB, free: 0.625 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/1.488, allocations: 99.23 kB / 1.368 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.258e-05/1.488, allocations: 15.25 kB / 1.368 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.488, allocations: 0 / 1.368 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/1.488, allocations: 19.38 kB / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/1.488, allocations: 13.48 kB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/1.489, allocations: 70.86 kB / 1.369 GB, free: 404 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/1.489, allocations: 0.6809 MB / 1.369 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.095e-05/1.489, allocations: 8.422 kB / 1.369 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/1.489, allocations: 7.438 kB / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of SimCode: time 7.42e-07/1.489, allocations: 0 / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.002724/1.492, allocations: 467.6 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches