Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009273/0.009273, allocations: 95.89 kB / 15.73 MB, free: 6.039 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.001938/0.001938, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 67.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3478, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001613/0.3494, allocations: 0.582 MB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00024/0.3496, allocations: 39.88 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.24e-05/0.3496, allocations: 4 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.3497, allocations: 0 / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.3497, allocations: 3.938 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.3499, allocations: 11.92 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.976e-05/0.35, allocations: 8 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.35, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.35, allocations: 3.984 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.476e-05/0.3501, allocations: 4 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.824e-06/0.3501, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.3502, allocations: 15.98 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.355e-06/0.3502, allocations: 4 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.3502, allocations: 0 / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.123e-05/0.3503, allocations: 19.97 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3503, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3503, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.3503, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 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.0002945/0.3506, allocations: 315.5 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.3506, allocations: 8.031 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.3507, allocations: 4.891 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.616e-05/0.3507, allocations: 164.3 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3508, allocations: 8.359 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.3508, allocations: 4.375 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.157e-05/0.3509, allocations: 34.19 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3509, allocations: 3.938 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.3509, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3509, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.3509, allocations: 4 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.351, allocations: 145.7 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.899e-05/0.3511, allocations: 26.55 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.3511, allocations: 4.859 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.3511, allocations: 3.984 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3511, allocations: 42.56 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.3512, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.3513, allocations: 33.64 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.3513, allocations: 51.41 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.234e-05/0.3514, allocations: 93.98 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.3514, allocations: 29.64 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.3514, allocations: 81.98 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3514, allocations: 4 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.3514, allocations: 13.7 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3516, allocations: 314.8 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.3516, allocations: 4 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.3516, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.3516, allocations: 12.92 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3516, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.654e-05/0.3516, allocations: 29.7 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3517, allocations: 4 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3517, allocations: 7.938 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3517, allocations: 3.984 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.3517, allocations: 3.938 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3517, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.3517, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.3518, allocations: 8.031 kB / 1.223 GB, free: 11.42 MB / 0.9825 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.165e-05/0.3518, allocations: 110.4 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-06/0.3518, allocations: 0 / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.746e-05/0.3519, allocations: 44.75 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3519, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3519, allocations: 4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.3519, allocations: 7.969 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.58e-05/0.352, allocations: 145.7 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.352, allocations: 0 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/0.352, allocations: 7.984 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.352, allocations: 0 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.352, allocations: 3.938 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.352, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.352, allocations: 3.938 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.905e-05/0.3521, allocations: 57.14 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.3521, allocations: 81.09 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.3521, allocations: 3.938 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.31e-05/0.3521, allocations: 4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.3522, allocations: 4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3522, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.3522, allocations: 75.28 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3522, allocations: 3.938 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001845/0.3524, allocations: 4 kB / 1.223 GB, free: 10.77 MB / 0.9825 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.0001409/0.3525, allocations: 107.3 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.753e-05/0.3526, allocations: 11.92 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.3526, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.603e-06/0.3526, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.3527, allocations: 9.969 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/0.3529, allocations: 84.84 kB / 1.223 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.3531, allocations: 0.669 MB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.3532, allocations: 12.11 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.3532, allocations: 7.438 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3532, allocations: 0 / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of Templates: time 0.002349/0.3555, allocations: 292.8 kB / 1.224 GB, free: 9.527 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches