Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_9_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.001204/0.001204, allocations: 114 kB / 16.41 MB, free: 6.379 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.001218/0.001218, allocations: 185.8 kB / 17.33 MB, free: 5.852 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.16 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.334/2.334, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.043, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002682/1.046, allocations: 1.43 MB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003079/1.046, allocations: 97.89 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/1.046, allocations: 0.9375 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.471e-05/1.046, allocations: 1.672 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.679e-05/1.046, allocations: 5.578 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/1.047, allocations: 26.56 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.363e-05/1.047, allocations: 21.16 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.449e-05/1.047, allocations: 8.328 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/1.047, allocations: 5.328 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/1.047, allocations: 18.52 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/1.047, allocations: 1.312 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.751e-05/1.047, allocations: 22.64 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/1.047, allocations: 10.72 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/1.047, allocations: 11.73 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/1.047, allocations: 34.83 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.047, allocations: 0 / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/1.047, allocations: 0 / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.159e-06/1.047, allocations: 1.188 kB / 1.09 GB, free: 4.375 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004584/1.048, allocations: 350.5 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.048, allocations: 8.562 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/1.048, allocations: 3.094 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/1.048, allocations: 171.1 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/1.048, allocations: 1.469 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/1.048, allocations: 1.438 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/1.048, allocations: 55.84 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/1.048, allocations: 192 / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/1.048, allocations: 4.688 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.048, allocations: 5.156 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/1.049, allocations: 34.77 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/1.049, allocations: 256.4 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/1.049, allocations: 47.38 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/1.049, allocations: 30.12 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/1.049, allocations: 2 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/1.049, allocations: 32.05 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/1.049, allocations: 0 / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003776/1.05, allocations: 86.17 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/1.05, allocations: 55.53 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/1.05, allocations: 106.4 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/1.05, allocations: 25.7 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/1.05, allocations: 81.75 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/1.05, allocations: 13.55 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/1.05, allocations: 13.42 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.887e-05/1.05, allocations: 313.8 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/1.05, allocations: 27.22 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/1.05, allocations: 15.78 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/1.05, allocations: 43.94 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.05, allocations: 0.9375 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/1.05, allocations: 74.52 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.05, allocations: 9.188 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.05, allocations: 1.922 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.05, allocations: 0 / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/1.051, allocations: 9.047 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/1.051, allocations: 0.7969 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/1.051, allocations: 10.92 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/1.051, allocations: 1.875 kB / 1.092 GB, free: 2.648 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 (2): * Single equations (assignments): 2 * 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 4.973e-05/1.051, allocations: 112.9 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/1.051, allocations: 13.75 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/1.051, allocations: 75.38 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1.051, allocations: 0.8125 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.051, allocations: 0.5156 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/1.051, allocations: 83.33 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/1.051, allocations: 0.6094 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/1.051, allocations: 7.109 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/1.051, allocations: 6.172 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002493/1.051, allocations: 154.1 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002354/1.052, allocations: 246 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.506e-05/1.052, allocations: 25.42 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.328e-05/1.052, allocations: 86.59 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of Backend: time 2e-07/1.052, allocations: 0 / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004476/1.052, allocations: 104.6 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003687/1.053, allocations: 0.5576 MB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of Templates: time 0.003226/1.056, allocations: 0.6479 MB / 1.094 GB, free: 1.223 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches