Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.079/2.079, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009757/0.0009759, allocations: 187.7 kB / 487.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008795/0.0008796, allocations: 103.6 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.028e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3089, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8859/1.195, allocations: 147.8 MB / 1.35 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.195, allocations: 76.2 kB / 1.35 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001761/1.197, allocations: 480.3 kB / 1.351 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.315e-06/1.197, allocations: 3.844 kB / 1.351 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.197, allocations: 0 / 1.351 GB, free: 34.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002001/1.197, allocations: 301.7 kB / 1.351 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.197, allocations: 11.25 kB / 1.351 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/1.197, allocations: 3.188 kB / 1.351 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.815e-05/1.197, allocations: 168.5 kB / 1.351 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/1.197, allocations: 3.984 kB / 1.351 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/1.197, allocations: 3.938 kB / 1.351 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.261e-05/1.197, allocations: 4.406 kB / 1.351 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.549e-05/1.197, allocations: 26.97 kB / 1.351 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.197, allocations: 0 / 1.351 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/1.197, allocations: 0 / 1.351 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/1.197, allocations: 4.594 kB / 1.351 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.469e-05/1.198, allocations: 131.4 kB / 1.351 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.075e-05/1.198, allocations: 19.19 kB / 1.351 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/1.198, allocations: 11.92 kB / 1.351 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/1.198, allocations: 0.6094 kB / 1.351 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/1.198, allocations: 34.5 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/1.198, allocations: 0 / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001611/1.198, allocations: 35.17 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/1.198, allocations: 63.31 kB / 1.352 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.794e-05/1.198, allocations: 85.52 kB / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/1.198, allocations: 25.7 kB / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/1.198, allocations: 80.14 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/1.198, allocations: 2.719 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/1.198, allocations: 0 / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.198, allocations: 311.5 kB / 1.352 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/1.198, allocations: 3.844 kB / 1.352 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-06/1.198, allocations: 0 / 1.352 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/1.198, allocations: 5.234 kB / 1.352 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.198, allocations: 0 / 1.352 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.686e-05/1.198, allocations: 42.91 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.198, allocations: 3.844 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.198, allocations: 0 / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/1.198, allocations: 4.562 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.612e-05/1.198, allocations: 0 / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/1.198, allocations: 0.7969 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/1.198, allocations: 3.938 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/1.198, allocations: 9.172 kB / 1.352 GB, free: 32.74 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.757e-05/1.198, allocations: 101.6 kB / 1.352 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/1.198, allocations: 7.859 kB / 1.352 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/1.199, allocations: 44.31 kB / 1.352 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/1.199, allocations: 0 / 1.352 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/1.199, allocations: 0 / 1.352 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.199, allocations: 0.5625 kB / 1.352 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.689e-05/1.199, allocations: 127.5 kB / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.199, allocations: 5.688 kB / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/1.199, allocations: 4.203 kB / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.199, allocations: 0.75 kB / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/1.199, allocations: 0 / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/1.199, allocations: 3.953 kB / 1.352 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.199, allocations: 8.578 kB / 1.352 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.99e-05/1.199, allocations: 58.77 kB / 1.353 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/1.199, allocations: 77.86 kB / 1.353 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/1.199, allocations: 3.812 kB / 1.353 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.021e-05/1.199, allocations: 0.6094 kB / 1.353 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/1.199, allocations: 4.562 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/1.199, allocations: 0 / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.908e-05/1.199, allocations: 75.28 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.199, allocations: 0 / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001866/1.199, allocations: 12.06 kB / 1.353 GB, free: 32.18 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001554/1.199, allocations: 103.5 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.708e-05/1.199, allocations: 11.5 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.199, allocations: 0 / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-06/1.199, allocations: 4.266 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.266e-05/1.199, allocations: 2.938 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001368/1.2, allocations: 44.94 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/1.2, allocations: 0.6748 MB / 1.353 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.415e-05/1.2, allocations: 4.688 kB / 1.353 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/1.2, allocations: 12.14 kB / 1.354 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.2, allocations: 0 / 1.354 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of Templates: time 0.002013/1.202, allocations: 273 kB / 1.354 GB, free: 31.27 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches