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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 108.7 kB / 18.94 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 192.5 kB / 22.23 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.047/3.047, allocations: 495.7 MB / 0.7831 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|x",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 65.67 kB / 1.137 GB, free: 33.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3466, allocations: 173.6 MB / 1.307 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001839/0.3484, allocations: 0.6048 MB / 1.308 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002628/0.3487, allocations: 35.81 kB / 1.308 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.272e-05/0.3487, allocations: 0 / 1.308 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.87e-05/0.3487, allocations: 0 / 1.308 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.3487, allocations: 0 / 1.308 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.349, allocations: 15.94 kB / 1.308 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.925e-05/0.3491, allocations: 3.984 kB / 1.308 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.3491, allocations: 0 / 1.308 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.3491, allocations: 8 kB / 1.308 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.004e-05/0.3492, allocations: 3.984 kB / 1.308 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-06/0.3492, allocations: 0 / 1.308 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3493, allocations: 23.97 kB / 1.308 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.3493, allocations: 0 / 1.308 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.3493, allocations: 0 / 1.308 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.799e-05/0.3494, allocations: 11.98 kB / 1.308 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3494, allocations: 0 / 1.308 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3494, allocations: 0 / 1.308 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.3494, allocations: 0 / 1.308 GB, free: 1.211 MB / 0.9981 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.0003603/0.3498, allocations: 246.8 kB / 1.308 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3498, allocations: 12.92 kB / 1.308 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.3498, allocations: 0.9375 kB / 1.308 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.192e-05/0.3499, allocations: 110.4 kB / 1.308 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3499, allocations: 384 / 1.308 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.35, allocations: 384 / 1.308 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.3501, allocations: 34.25 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3501, allocations: 192 / 1.308 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3501, allocations: 3.938 kB / 1.308 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3501, allocations: 0 / 1.308 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.187e-05/0.3501, allocations: 8 kB / 1.308 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.3503, allocations: 124.7 kB / 1.308 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.3503, allocations: 18.52 kB / 1.308 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.3503, allocations: 12.94 kB / 1.308 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.3504, allocations: 0 / 1.308 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.3504, allocations: 34.56 kB / 1.308 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 2.735e-06/0.3504, allocations: 7.984 kB / 1.308 GB, free: 496 kB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.3506, allocations: 41.64 kB / 1.308 GB, free: 448 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3506, allocations: 51.41 kB / 1.308 GB, free: 384 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.107e-05/0.3507, allocations: 89.86 kB / 1.308 GB, free: 284 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3507, allocations: 25.7 kB / 1.308 GB, free: 252 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.3507, allocations: 80.14 kB / 1.309 GB, free: 168 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.3508, allocations: 0 / 1.309 GB, free: 168 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.3508, allocations: 21.64 kB / 1.309 GB, free: 140 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3509, allocations: 319 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.351, allocations: 0 / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-06/0.351, allocations: 4 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.351, allocations: 4.859 kB / 1.309 GB, free: 15.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.351, allocations: 4 kB / 1.309 GB, free: 15.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.87e-05/0.3511, allocations: 29.7 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3511, allocations: 4 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3511, allocations: 3.984 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3511, allocations: 8.031 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.3512, allocations: 4 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3512, allocations: 3.938 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/0.3512, allocations: 0 / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3512, allocations: 4 kB / 1.309 GB, free: 15.74 MB / 1.014 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 8.457e-05/0.3513, allocations: 117.9 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.3513, allocations: 0 / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.3514, allocations: 52.56 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3514, allocations: 0 / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3514, allocations: 0 / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.3514, allocations: 0 / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.632e-05/0.3515, allocations: 116.8 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3515, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.3515, allocations: 7.984 kB / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3515, allocations: 0 / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3515, allocations: 3.938 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3515, allocations: 0 / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3515, allocations: 4.031 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.447e-05/0.3516, allocations: 57.08 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.3516, allocations: 3.984 kB / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.3516, allocations: 3.938 kB / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.3516, allocations: 7.938 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.3516, allocations: 4 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.3517, allocations: 4 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.3517, allocations: 79.31 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3517, allocations: 0 / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001845/0.3519, allocations: 7.938 kB / 1.309 GB, free: 15.21 MB / 1.014 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.0001707/0.352, allocations: 103.2 kB / 1.309 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.083e-05/0.3521, allocations: 11.92 kB / 1.309 GB, free: 15.08 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.3521, allocations: 0 / 1.309 GB, free: 15.08 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.645e-06/0.3522, allocations: 0 / 1.309 GB, free: 15.08 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.3523, allocations: 8.125 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.3525, allocations: 80.88 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3529, allocations: 0.669 MB / 1.31 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.3529, allocations: 7.984 kB / 1.31 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.3529, allocations: 7.438 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3529, allocations: 4 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of Templates: time 0.002838/0.3558, allocations: 288.6 kB / 1.311 GB, free: 13.97 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.408368892967701]