Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_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.00161/0.001609, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.002084/0.002084, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 55.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003132/1.07, allocations: 1.445 MB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003578/1.07, allocations: 103 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/1.071, allocations: 0 / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.284e-05/1.071, allocations: 3.938 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.849e-05/1.071, allocations: 7.938 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/1.071, allocations: 19.98 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.282e-05/1.071, allocations: 19.92 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/1.071, allocations: 11.98 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/1.071, allocations: 4 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/1.071, allocations: 15.92 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/1.071, allocations: 0 / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/1.071, allocations: 19.98 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/1.071, allocations: 7.984 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/1.071, allocations: 19.92 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/1.072, allocations: 31.91 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.072, allocations: 4 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/1.072, allocations: 0 / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.072, allocations: 0 / 1.169 GB, free: 2.172 MB / 0.8887 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.0005068/1.072, allocations: 351.1 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.072, allocations: 12.92 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/1.072, allocations: 0.9375 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/1.072, allocations: 168.3 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/1.072, allocations: 4.375 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/1.072, allocations: 384 / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/1.073, allocations: 50.23 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.073, allocations: 192 / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/1.073, allocations: 3.938 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/1.073, allocations: 4 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/1.073, allocations: 35.95 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/1.073, allocations: 264.8 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/1.073, allocations: 42.5 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/1.073, allocations: 16.91 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/1.074, allocations: 7.984 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/1.074, allocations: 38.56 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.074, allocations: 0 / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003791/1.074, allocations: 85.58 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/1.074, allocations: 55.41 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.801e-05/1.074, allocations: 109.8 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/1.074, allocations: 25.7 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/1.074, allocations: 92.25 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/1.074, allocations: 3.906 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/1.074, allocations: 17.72 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.074, allocations: 314.8 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/1.074, allocations: 19.98 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/1.075, allocations: 11.98 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/1.075, allocations: 52.88 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.075, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/1.075, allocations: 77.44 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.075, allocations: 8 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.075, allocations: 0 / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.075, allocations: 0 / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/1.075, allocations: 4 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.075, allocations: 4.031 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/1.075, allocations: 9.812 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/1.075, allocations: 7.938 kB / 1.171 GB, free: 92 kB / 0.8887 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.983e-05/1.075, allocations: 109.8 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/1.075, allocations: 3.938 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/1.076, allocations: 85.09 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.076, allocations: 4.031 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/1.076, allocations: 0 / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/1.076, allocations: 77.11 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/1.076, allocations: 4 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/1.076, allocations: 7.984 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/1.076, allocations: 4 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002625/1.076, allocations: 152.9 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002554/1.076, allocations: 246.6 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.892e-05/1.076, allocations: 19.98 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.896e-05/1.076, allocations: 87.27 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of Backend: time 2.41e-07/1.076, allocations: 4.062 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004317/1.077, allocations: 97.36 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004857/1.077, allocations: 0.5648 MB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of Templates: time 0.002959/1.08, allocations: 0.6494 MB / 1.173 GB, free: 13.88 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches