Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_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.001385/0.001385, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.001572/0.001572, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.598/2.598, allocations: 469.4 MB / 0.7423 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 68.42 kB / 0.9083 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3224, allocations: 159.1 MB / 1.064 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002931/0.3254, allocations: 1.498 MB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003101/0.3258, allocations: 91.73 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.3258, allocations: 0 / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.334e-05/0.3259, allocations: 3.984 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.984e-05/0.326, allocations: 7.938 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.3262, allocations: 15.98 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.842e-05/0.3263, allocations: 23.94 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.712e-05/0.3264, allocations: 7.984 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.3264, allocations: 7.938 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.3265, allocations: 11.98 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3265, allocations: 7.938 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.235e-05/0.3266, allocations: 15.98 kB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.3267, allocations: 11.98 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.3267, allocations: 7.922 kB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.622e-05/0.3268, allocations: 27.97 kB / 1.065 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3268, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3268, allocations: 3.938 kB / 1.065 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3268, allocations: 4 kB / 1.065 GB, free: 13.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004484/0.3273, allocations: 339.7 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3273, allocations: 12.62 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.3274, allocations: 0.9375 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3275, allocations: 180.3 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3275, allocations: 4.375 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.3275, allocations: 4.375 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.3277, allocations: 50.23 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3277, allocations: 192 / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3277, allocations: 3.938 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3278, allocations: 4 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.3279, allocations: 31.97 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.3283, allocations: 260.9 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.3284, allocations: 42.48 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.3285, allocations: 24.91 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.3286, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3286, allocations: 30.56 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.3286, allocations: 4 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003632/0.329, allocations: 97.45 kB / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.329, allocations: 51.41 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.3291, allocations: 105.8 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.3291, allocations: 33.7 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.3292, allocations: 84.25 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.3292, allocations: 11.89 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.3293, allocations: 17.72 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.3294, allocations: 310.8 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.548e-05/0.3295, allocations: 19.98 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.3295, allocations: 15.97 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3297, allocations: 44.89 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3297, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.3299, allocations: 77.53 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.33, allocations: 8 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.33, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.33, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.957e-05/0.3301, allocations: 7.984 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3301, allocations: 4.031 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.3301, allocations: 11.92 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.3302, allocations: 4 kB / 1.067 GB, free: 11.58 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 (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 6.893e-05/0.3302, allocations: 109.8 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.3303, allocations: 7.906 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.3305, allocations: 77.12 kB / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3305, allocations: 4.031 kB / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3305, allocations: 3.984 kB / 1.067 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3305, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.3307, allocations: 161.6 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3307, allocations: 256 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.3308, allocations: 11.98 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3308, allocations: 8 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3308, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3308, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3308, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3311, allocations: 167.5 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.3311, allocations: 81.02 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.3311, allocations: 7.984 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.3312, allocations: 11.88 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.3313, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3313, allocations: 4 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.236e-05/0.3313, allocations: 91.3 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3313, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002338/0.3316, allocations: 8 kB / 1.068 GB, free: 10.74 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 (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 Backend phase and start with SimCode phase: time 0.0001447/0.3317, allocations: 107.2 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.3319, allocations: 39.95 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3319, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.332, allocations: 24.05 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.3324, allocations: 10.73 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.3327, allocations: 143.1 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.333, allocations: 0.6885 MB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.333, allocations: 7.438 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.333, allocations: 4.062 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.002181/0.3352, allocations: 0.6558 MB / 1.07 GB, free: 9.008 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches