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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007832/0.007832, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001891/0.001891, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.804/2.804, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 64.11 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2756, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001582/0.2772, allocations: 0.5758 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.2774, allocations: 39.81 kB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.129e-05/0.2774, allocations: 4 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.2774, allocations: 0 / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-06/0.2775, allocations: 0 / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.2777, allocations: 19.92 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.328e-05/0.2777, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.2778, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.37e-05/0.2778, allocations: 4 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.173e-05/0.2778, allocations: 3.984 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.2778, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.2779, allocations: 23.91 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.883e-06/0.2779, allocations: 4 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.278, allocations: 0 / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.97e-05/0.278, allocations: 15.98 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2781, allocations: 0 / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2781, allocations: 0 / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.954e-06/0.2781, allocations: 0 / 1.221 GB, free: 13.59 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.000296/0.2784, allocations: 319.5 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2784, allocations: 8.031 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.2785, allocations: 42.67 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.99e-05/0.2785, allocations: 4.938 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.266e-05/0.2786, allocations: 164.4 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.2786, allocations: 384 / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-06/0.2786, allocations: 384 / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.855e-05/0.2787, allocations: 34.2 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2787, allocations: 3.938 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.2787, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2787, allocations: 3.984 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.679e-05/0.2787, allocations: 0 / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.2789, allocations: 145.7 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.2789, allocations: 22.58 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.2789, allocations: 4.859 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.279, allocations: 4.062 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.279, allocations: 34.5 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.279, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001116/0.2791, allocations: 37.62 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.2792, allocations: 59.53 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.062e-05/0.2792, allocations: 89.86 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2792, allocations: 29.7 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.2793, allocations: 81.98 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.2793, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.2793, allocations: 13.72 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2794, allocations: 310.8 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-06/0.2795, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.2795, allocations: 7.984 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/0.2795, allocations: 12.8 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2795, allocations: 3.938 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.497e-05/0.2796, allocations: 41.7 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2796, allocations: 4 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2796, allocations: 3.938 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.2796, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.616e-05/0.2797, allocations: 4 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2797, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.2797, allocations: 8.078 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2797, allocations: 0 / 1.222 GB, free: 11.89 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.581e-05/0.2798, allocations: 109.8 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.2798, allocations: 4 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.158e-05/0.2799, allocations: 48.69 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2799, allocations: 0 / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2799, allocations: 4.031 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2799, allocations: 4 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.28, allocations: 145.7 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.28, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.28, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2801, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.2801, allocations: 7.938 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.2801, allocations: 3.984 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2801, allocations: 0 / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.015e-05/0.2802, allocations: 61.08 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.2802, allocations: 81.11 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.2802, allocations: 3.938 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.2802, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.2802, allocations: 3.984 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2802, allocations: 0 / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.2803, allocations: 79.28 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2803, allocations: 0 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001887/0.2805, allocations: 4 kB / 1.223 GB, free: 11.24 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.0003848/0.2809, allocations: 0.6013 MB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.048e-05/0.281, allocations: 7.938 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.281, allocations: 0 / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-06/0.281, allocations: 96 / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.2811, allocations: 12.06 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.2814, allocations: 114.4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.2816, allocations: 0.669 MB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.2817, allocations: 0 / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.2817, allocations: 19.31 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.2817, allocations: 4 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5057/0.7874, allocations: 1.014 MB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.41, allocations: 9.406 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > 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/jenkins1/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