Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_latest_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_latest_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.001094/0.001094, allocations: 104.3 kB / 16.27 MB, free: 6.418 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.001183/0.001183, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 64.44 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3181, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001873/0.3201, allocations: 0.5794 MB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00022/0.3203, allocations: 39.8 kB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.186e-05/0.3203, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.3203, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.3204, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3207, allocations: 15.94 kB / 1.065 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.1e-05/0.3207, allocations: 7.984 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.3208, allocations: 3.984 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.375e-05/0.3208, allocations: 4 kB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.3208, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.3208, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3209, allocations: 19.98 kB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.321, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.321, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.55e-05/0.3211, allocations: 15.98 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3211, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3211, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3211, allocations: 4 kB / 1.065 GB, free: 14.31 MB / 0.8419 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.0003045/0.3214, allocations: 315.6 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3215, allocations: 8.625 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.3215, allocations: 4.938 kB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.267e-05/0.3216, allocations: 164.3 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3216, allocations: 8.312 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.3216, allocations: 384 / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.98e-05/0.3217, allocations: 34.23 kB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.3218, allocations: 8.188 kB / 1.065 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3218, allocations: 3.938 kB / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3218, allocations: 0 / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.118e-05/0.3218, allocations: 0 / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.3219, allocations: 141.7 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.322, allocations: 26.55 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.322, allocations: 8.844 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.3221, allocations: 8.047 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3221, allocations: 34.56 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3221, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001302/0.3223, allocations: 33.64 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3223, allocations: 55.41 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.3224, allocations: 89.86 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3224, allocations: 29.64 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.3224, allocations: 80.14 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3225, allocations: 4.125 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.3225, allocations: 17.7 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3226, allocations: 314.8 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.3226, allocations: 3.938 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.3226, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.3227, allocations: 8.859 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3227, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.858e-05/0.3227, allocations: 33.7 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3228, allocations: 16.08 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3228, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3228, allocations: 3.938 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.3228, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3228, allocations: 7.984 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.3229, allocations: 0 / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3229, allocations: 3.938 kB / 1.066 GB, free: 12.65 MB / 0.8419 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.606e-05/0.323, allocations: 106.4 kB / 1.066 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.323, allocations: 4 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3231, allocations: 52.69 kB / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3231, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3231, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.3231, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.32e-05/0.3232, allocations: 145.7 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3232, allocations: 7.984 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.3232, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3232, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.3233, allocations: 11.97 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3233, allocations: 0 / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3233, allocations: 0 / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.42e-05/0.3233, allocations: 57.08 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.3234, allocations: 89 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3234, allocations: 3.938 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.3234, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.3234, allocations: 4.031 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3234, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 2.719e-05/0.3235, allocations: 75.28 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3235, allocations: 0 / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001973/0.3237, allocations: 12 kB / 1.067 GB, free: 11.99 MB / 0.8419 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.0001848/0.3239, allocations: 99.25 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.324, allocations: 7.984 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.324, allocations: 3.938 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.324, allocations: 12 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.3241, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.3244, allocations: 106.6 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.3246, allocations: 0.6768 MB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.3246, allocations: 7.438 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3247, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of Templates: time 0.001711/0.3264, allocations: 451.7 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches