Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9622/0.9622, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.994/1.994, allocations: 377.9 MB / 0.6239 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.283e-05, allocations: 2.312 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002047/0.002069, allocations: 1.497 MB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0002653/0.002335, allocations: 93.05 kB / 0.8135 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.002365, allocations: 0 / 0.8135 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.793e-05/0.002423, allocations: 0 / 0.8135 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.002465, allocations: 17.23 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.002717, allocations: 15.98 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.432e-05/0.002772, allocations: 19.92 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/0.002844, allocations: 8.688 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.992e-05/0.002883, allocations: 11.98 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.002918, allocations: 12.88 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.00293, allocations: 4 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.003013, allocations: 24.52 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.003046, allocations: 7.984 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.355e-05/0.003059, allocations: 4.625 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.003162, allocations: 39.83 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.003164, allocations: 1.25 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003165, allocations: 0 / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.003168, allocations: 0 / 0.8137 GB, free: 15.69 MB / 0.7761 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.0003135/0.003482, allocations: 366.8 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.003516, allocations: 12.03 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.003539, allocations: 0.9375 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.372e-05/0.003613, allocations: 112.6 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.003623, allocations: 384 / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-06/0.003628, allocations: 1.156 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.824e-05/0.003726, allocations: 58.94 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.003734, allocations: 5.656 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.003739, allocations: 384 / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.003744, allocations: 384 / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.689e-05/0.003761, allocations: 7.938 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.003969, allocations: 229.5 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.651e-05/0.004006, allocations: 31.09 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.004022, allocations: 16.41 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.004056, allocations: 3.938 kB / 0.8145 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.004075, allocations: 42.45 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.004077, allocations: 3.984 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001074/0.004184, allocations: 39.11 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.004211, allocations: 51.41 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.004276, allocations: 165.9 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.004285, allocations: 29.7 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.004327, allocations: 131.4 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.004344, allocations: 12.45 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.004368, allocations: 19.36 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.004478, allocations: 496.7 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.004489, allocations: 0.8125 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-06/0.004498, allocations: 7.938 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.599e-05/0.004524, allocations: 20.55 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004526, allocations: 0 / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.503e-05/0.004581, allocations: 38.19 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.004592, allocations: 5.375 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.004596, allocations: 3.938 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.004607, allocations: 3.938 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.004661, allocations: 5.281 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.004665, allocations: 7.984 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.004679, allocations: 256 / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.004684, allocations: 4.656 kB / 0.8156 GB, free: 13.61 MB / 0.7761 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 5.705e-05/0.004741, allocations: 161.2 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.004753, allocations: 0 / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.958e-05/0.004823, allocations: 46.78 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.004825, allocations: 3.938 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.004826, allocations: 0 / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.004829, allocations: 0 / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.681e-05/0.004915, allocations: 110.6 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.004916, allocations: 0 / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.004941, allocations: 4 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.004942, allocations: 0.5312 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-06/0.004946, allocations: 0 / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.004947, allocations: 0.6562 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.004948, allocations: 0 / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.92e-05/0.005037, allocations: 197.5 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.005043, allocations: 0 / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.00505, allocations: 0 / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.782e-05/0.005078, allocations: 7.984 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.005103, allocations: 4.875 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.005108, allocations: 7.938 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.005141, allocations: 126.7 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005141, allocations: 0 / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001437/0.005285, allocations: 8 kB / 0.8162 GB, free: 12.89 MB / 0.7761 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.0001048/0.00539, allocations: 102.5 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.339e-05/0.005443, allocations: 15.69 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.005445, allocations: 3.938 kB / 0.8163 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.005463, allocations: 11.69 kB / 0.8163 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.005632, allocations: 14.89 kB / 0.8163 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001987/0.00583, allocations: 116.2 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.155e-05/0.005862, allocations: 63.16 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.478e-05/0.005877, allocations: 4.844 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.005918, allocations: 74.2 kB / 0.8166 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.005918, allocations: 0.8438 kB / 0.8166 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.002099/0.008017, allocations: 0.6367 MB / 0.8172 GB, free: 11.82 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Polynomial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.091329849790782]