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/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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001455/0.001455, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 12 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.709/0.7094, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001729/0.7112, allocations: 1.157 MB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000284/0.7115, allocations: 84.66 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.7115, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.7116, allocations: 3.938 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.7116, allocations: 7.984 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.7118, allocations: 11.98 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.7119, allocations: 15.97 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.712, allocations: 8 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.7121, allocations: 7.938 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.7121, allocations: 11.92 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.7121, allocations: 4 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.7122, allocations: 15.98 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.7123, allocations: 7.922 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.7123, allocations: 25.7 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.852e-05/0.7124, allocations: 23.95 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.7124, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7124, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.7124, allocations: 8 kB / 1.022 GB, free: 15.69 MB / 0.7794 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.0004858/0.7129, allocations: 341.3 kB / 1.022 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.713, allocations: 11.98 kB / 1.022 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.713, allocations: 4 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.7131, allocations: 170.9 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.7132, allocations: 4 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.7132, allocations: 7.938 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.7134, allocations: 65.56 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.7134, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.7134, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.7134, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.7136, allocations: 51.95 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.714, allocations: 252.9 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.7141, allocations: 46.55 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.7142, allocations: 8.062 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.7142, allocations: 34.5 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7142, allocations: 0 / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003784/0.7146, allocations: 101.6 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.7147, allocations: 55.41 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.7147, allocations: 109.8 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.7148, allocations: 25.7 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.7148, allocations: 84.14 kB / 1.023 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.7148, allocations: 3.906 kB / 1.023 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.7148, allocations: 0 / 1.023 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.715, allocations: 323 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/0.7151, allocations: 23.98 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/0.7151, allocations: 23.92 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.441e-05/0.7152, allocations: 28.03 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7153, allocations: 0 / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001985/0.7155, allocations: 81.53 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7155, allocations: 12.03 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.7155, allocations: 3.984 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.7155, allocations: 0 / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.7156, allocations: 8 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.7156, allocations: 3.938 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.7157, allocations: 15.98 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.7157, allocations: 3.984 kB / 1.024 GB, free: 13.61 MB / 0.7794 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 () * Number of clocked 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 7.684e-05/0.7158, allocations: 109.8 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.7158, allocations: 7.953 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.716, allocations: 89.11 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7161, allocations: 4 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7161, allocations: 32 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.7161, allocations: 7.938 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.7162, allocations: 157.7 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7162, allocations: 4 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.7163, allocations: 8 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.7163, allocations: 3.953 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.7163, allocations: 0 / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7163, allocations: 256 / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7163, allocations: 0 / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.7166, allocations: 183.4 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.7166, allocations: 89.02 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.7166, allocations: 3.953 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.7167, allocations: 8.031 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.7168, allocations: 7.984 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.7168, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.7168, allocations: 83.28 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7168, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002216/0.7171, allocations: 8 kB / 1.025 GB, free: 12.75 MB / 0.7794 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 () * Number of clocked 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.0001571/0.7172, allocations: 103.2 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.7174, allocations: 51.97 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.7175, allocations: 0 / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.7176, allocations: 31.97 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.7178, allocations: 8.062 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.718, allocations: 116.6 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.7183, allocations: 0.677 MB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.7183, allocations: 4 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.7184, allocations: 11.38 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7184, allocations: 4 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of Templates: time 0.002669/0.721, allocations: 457.8 kB / 1.026 GB, free: 11.24 MB / 0.7794 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