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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001407/0.001407, allocations: 105 kB / 16.35 MB, free: 5.875 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.001521/0.001521, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 66.25 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2722, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001641/0.2738, allocations: 0.5724 MB / 0.9517 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.2741, allocations: 31.88 kB / 0.9517 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.104e-05/0.2741, allocations: 0 / 0.9517 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.2741, allocations: 0 / 0.9517 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.2741, allocations: 0 / 0.9517 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.2744, allocations: 19.92 kB / 0.9517 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.894e-05/0.2744, allocations: 0 / 0.9517 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.2745, allocations: 4 kB / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.501e-05/0.2745, allocations: 3.984 kB / 0.9518 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.2745, allocations: 7.938 kB / 0.9518 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.2745, allocations: 4 kB / 0.9518 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-05/0.2746, allocations: 15.98 kB / 0.9518 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.2746, allocations: 0 / 0.9518 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.2747, allocations: 4 kB / 0.9518 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.296e-05/0.2748, allocations: 15.97 kB / 0.9518 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2748, allocations: 0 / 0.9518 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2748, allocations: 3.938 kB / 0.9518 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2748, allocations: 0 / 0.9518 GB, free: 7.398 MB / 0.7325 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.0002875/0.2751, allocations: 315.6 kB / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2751, allocations: 12.03 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.2751, allocations: 4.922 kB / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.839e-05/0.2752, allocations: 164.3 kB / 0.9523 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2753, allocations: 4.375 kB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.2753, allocations: 4.359 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.988e-05/0.2754, allocations: 26.27 kB / 0.9523 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.2754, allocations: 192 / 0.9523 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-06/0.2754, allocations: 3.938 kB / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2754, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.711e-05/0.2754, allocations: 4 kB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.2755, allocations: 153.7 kB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.653e-05/0.2756, allocations: 26.55 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/0.2756, allocations: 4.859 kB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.2756, allocations: 3.938 kB / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.2757, allocations: 34.62 kB / 0.9525 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2757, allocations: 0 / 0.9525 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.2758, allocations: 45.53 kB / 0.9526 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2758, allocations: 51.41 kB / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.162e-05/0.2759, allocations: 93.86 kB / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.2759, allocations: 25.7 kB / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.235e-05/0.2759, allocations: 88.12 kB / 0.9528 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.2759, allocations: 0 / 0.9528 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.276, allocations: 13.66 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.276, allocations: 310.8 kB / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-06/0.2761, allocations: 8.125 kB / 0.9531 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.2761, allocations: 0 / 0.9531 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.724e-05/0.2761, allocations: 12.84 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2761, allocations: 0 / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.532e-05/0.2762, allocations: 33.7 kB / 0.9532 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2762, allocations: 8 kB / 0.9532 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2762, allocations: 0 / 0.9532 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2762, allocations: 3.938 kB / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.638e-05/0.2763, allocations: 0 / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2763, allocations: 12.02 kB / 0.9532 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.2763, allocations: 4 kB / 0.9532 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.2763, allocations: 0 / 0.9532 GB, free: 5.73 MB / 0.7325 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 5.72e-05/0.2764, allocations: 109.8 kB / 0.9533 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.2764, allocations: 0 / 0.9533 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.072e-05/0.2765, allocations: 44.77 kB / 0.9534 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2765, allocations: 7.969 kB / 0.9534 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2765, allocations: 0 / 0.9534 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2765, allocations: 3.984 kB / 0.9534 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.641e-05/0.2766, allocations: 141.7 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2766, allocations: 4 kB / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.2766, allocations: 0 / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2766, allocations: 0 / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.2766, allocations: 3.938 kB / 0.9535 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2766, allocations: 0 / 0.9535 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2766, allocations: 4 kB / 0.9535 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.788e-05/0.2767, allocations: 69 kB / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.2768, allocations: 77.11 kB / 0.9537 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2768, allocations: 7.938 kB / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.211e-05/0.2768, allocations: 4 kB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.2768, allocations: 0 / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2768, allocations: 0 / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.177e-05/0.2768, allocations: 75.28 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2768, allocations: 4.031 kB / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001938/0.277, allocations: 11.98 kB / 0.9538 GB, free: 5.07 MB / 0.7325 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.0001403/0.2772, allocations: 103.2 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.695e-05/0.2773, allocations: 7.938 kB / 0.9539 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2773, allocations: 0 / 0.9539 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.087e-06/0.2773, allocations: 4 kB / 0.9539 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.2774, allocations: 5.031 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001488/0.2776, allocations: 83.2 kB / 0.9539 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.2778, allocations: 0.6727 MB / 0.9546 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.2778, allocations: 4 kB / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.2778, allocations: 7.438 kB / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.2778, allocations: 0 / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of Templates: time 0.00192/0.2797, allocations: 288.7 kB / 0.9549 GB, free: 3.848 MB / 0.7325 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 -s gbode -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