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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001703/0.001703, allocations: 109.2 kB / 16.42 MB, free: 6.512 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.001744/0.001744, allocations: 195.8 kB / 17.35 MB, free: 5.754 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.483/1.483, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003438/1.076, allocations: 1.433 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003873/1.076, allocations: 99.66 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/1.076, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.773e-05/1.076, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/1.076, allocations: 7.938 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/1.077, allocations: 19.98 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/1.077, allocations: 23.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/1.077, allocations: 8 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.428e-05/1.077, allocations: 7.984 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/1.077, allocations: 15.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/1.077, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/1.077, allocations: 19.92 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/1.077, allocations: 11.92 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/1.077, allocations: 11.94 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/1.077, allocations: 31.95 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.077, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.447e-06/1.077, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.632e-06/1.077, allocations: 7.938 kB / 1.21 GB, free: 11.87 MB / 0.9356 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.0005162/1.078, allocations: 351.2 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.078, allocations: 8.031 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/1.078, allocations: 4.922 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/1.078, allocations: 168.3 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/1.078, allocations: 384 / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/1.078, allocations: 384 / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/1.078, allocations: 58.22 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.078, allocations: 8.125 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.078, allocations: 3.938 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.078, allocations: 0 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/1.079, allocations: 35.95 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/1.079, allocations: 248.9 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/1.079, allocations: 50.53 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/1.079, allocations: 20.91 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/1.079, allocations: 4 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/1.079, allocations: 42.48 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.079, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003797/1.08, allocations: 89.64 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/1.08, allocations: 51.41 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/1.08, allocations: 101.9 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/1.08, allocations: 25.7 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/1.08, allocations: 84.12 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/1.08, allocations: 11.89 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/1.08, allocations: 13.72 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.08, allocations: 315 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.853e-05/1.08, allocations: 23.97 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.432e-05/1.08, allocations: 15.98 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/1.08, allocations: 48.75 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.08, allocations: 0 / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000203/1.081, allocations: 77.58 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.081, allocations: 4 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.081, allocations: 0 / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.081, allocations: 3.984 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/1.081, allocations: 8 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.081, allocations: 3.938 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/1.081, allocations: 9.812 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/1.081, allocations: 256 / 1.212 GB, free: 9.793 MB / 0.9356 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 9.384e-05/1.081, allocations: 113.9 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/1.081, allocations: 7.938 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/1.081, allocations: 85.11 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.081, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.081, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/1.081, allocations: 85.05 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/1.081, allocations: 0 / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/1.081, allocations: 12.02 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/1.081, allocations: 0 / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002488/1.082, allocations: 152.8 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002873/1.082, allocations: 250.7 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001002/1.082, allocations: 15.98 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.912e-05/1.082, allocations: 91.27 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of Backend: time 5.61e-07/1.082, allocations: 0 / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004948/1.083, allocations: 94.39 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005545/1.083, allocations: 0.561 MB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of Templates: time 0.003281/1.087, allocations: 0.6687 MB / 1.214 GB, free: 7.559 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches