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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 112.2 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.001581/0.001581, 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 72.03 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001916/1.039, allocations: 0.5732 MB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002793/1.039, allocations: 40.05 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/1.039, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/1.039, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-06/1.039, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/1.039, allocations: 16.75 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.606e-05/1.039, allocations: 6.828 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/1.039, allocations: 1.672 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/1.039, allocations: 1.812 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/1.039, allocations: 0 / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/1.039, allocations: 1.125 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/1.04, allocations: 19.75 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/1.04, allocations: 3.984 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.381e-05/1.04, allocations: 4.734 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/1.04, allocations: 15.58 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.04, allocations: 0.6562 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.985e-06/1.04, allocations: 0 / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.04, allocations: 4.938 kB / 1.089 GB, free: 5.113 MB / 0.8575 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.0003485/1.04, allocations: 318.4 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/1.04, allocations: 8.938 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/1.04, allocations: 0.9375 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.695e-05/1.04, allocations: 162.7 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/1.04, allocations: 384 / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/1.04, allocations: 1.688 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/1.041, allocations: 33.42 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.041, allocations: 5.5 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/1.041, allocations: 3.938 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.041, allocations: 0 / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/1.041, allocations: 2.844 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/1.041, allocations: 144.2 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.336e-05/1.041, allocations: 21.36 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/1.041, allocations: 13.88 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/1.041, allocations: 1.672 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/1.041, allocations: 40.39 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/1.041, allocations: 0 / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001428/1.041, allocations: 36.83 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/1.041, allocations: 56.47 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.618e-05/1.041, allocations: 89.86 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/1.041, allocations: 27.39 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.526e-05/1.041, allocations: 80.14 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/1.041, allocations: 4.125 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/1.041, allocations: 16.92 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.499e-05/1.041, allocations: 316.7 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/1.041, allocations: 4.453 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/1.041, allocations: 1.344 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/1.041, allocations: 9.328 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.041, allocations: 0 / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.95e-05/1.041, allocations: 33.47 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.041, allocations: 14.5 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.041, allocations: 0 / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.041, allocations: 3.938 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/1.042, allocations: 3.172 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.042, allocations: 0.75 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/1.042, allocations: 4 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/1.042, allocations: 1.281 kB / 1.091 GB, free: 3.531 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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.046e-05/1.042, allocations: 108.3 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/1.042, allocations: 0 / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/1.042, allocations: 46.97 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/1.042, allocations: 0 / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.042, allocations: 0 / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/1.042, allocations: 1.891 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.259e-05/1.042, allocations: 148.5 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/1.042, allocations: 0 / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/1.042, allocations: 3.016 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.042, allocations: 7.969 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/1.042, allocations: 5.188 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/1.042, allocations: 0.5156 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.042, allocations: 1.062 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.263e-05/1.042, allocations: 57.08 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/1.042, allocations: 78.94 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/1.042, allocations: 5.766 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/1.042, allocations: 4.031 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/1.042, allocations: 2.062 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/1.042, allocations: 5.344 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.713e-05/1.042, allocations: 75.28 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/1.042, allocations: 0 / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002276/1.042, allocations: 5 kB / 1.091 GB, free: 2.926 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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.000166/1.043, allocations: 101.5 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.61e-05/1.043, allocations: 13.27 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.043, allocations: 4.906 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/1.043, allocations: 2.031 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/1.043, allocations: 1.516 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/1.043, allocations: 113.8 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/1.043, allocations: 0.6761 MB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/1.043, allocations: 9.078 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/1.043, allocations: 0 / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of Templates: time 0.002301/1.046, allocations: 449.5 kB / 1.093 GB, free: 1.961 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches