Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.0009678/0.0009678, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009949/0.0009949, allocations: 169 kB / 24.28 MB, free: 276 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 1.021/1.021, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.859/1.859, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0.7656 kB / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.943e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00101/0.00103, allocations: 0.6039 MB / 0.8122 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001794/0.001209, allocations: 28.77 kB / 0.8122 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.001227, allocations: 4 kB / 0.8122 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.001241, allocations: 1.688 kB / 0.8122 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-06/0.001247, allocations: 0 / 0.8122 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.001517, allocations: 15.92 kB / 0.8122 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.237e-05/0.00156, allocations: 7.984 kB / 0.8122 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.001596, allocations: 1.531 kB / 0.8122 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.001619, allocations: 0 / 0.8122 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.127e-05/0.00164, allocations: 0 / 0.8122 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.00165, allocations: 0 / 0.8122 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.001727, allocations: 21.06 kB / 0.8122 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 7.945e-06/0.001735, allocations: 0 / 0.8122 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.001751, allocations: 7.938 kB / 0.8123 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.49e-05/0.001836, allocations: 17.44 kB / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.001837, allocations: 0 / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.51e-07/0.001838, allocations: 0 / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.001841, allocations: 4 kB / 0.8123 GB, free: 1.312 MB / 0.7605 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.000236/0.002077, allocations: 340.9 kB / 0.8126 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.002107, allocations: 8.031 kB / 0.8126 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.002138, allocations: 5.594 kB / 0.8126 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.641e-05/0.002195, allocations: 109.1 kB / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.002204, allocations: 384 / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.002212, allocations: 1.969 kB / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.603e-05/0.002288, allocations: 38.25 kB / 0.8128 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.002294, allocations: 192 / 0.8128 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.002301, allocations: 384 / 0.8128 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.002308, allocations: 1 kB / 0.8128 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.394e-05/0.002322, allocations: 4.719 kB / 0.8128 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.709e-05/0.002409, allocations: 108.6 kB / 0.8129 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.134e-05/0.00244, allocations: 27.59 kB / 0.8129 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.002455, allocations: 7.688 kB / 0.8129 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.002482, allocations: 4.688 kB / 0.8129 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.002505, allocations: 38.06 kB / 0.8129 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 1.934e-06/0.002507, allocations: 3.984 kB / 0.8129 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.000106/0.002613, allocations: 39.08 kB / 0.813 GB, free: 472 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.00264, allocations: 55.34 kB / 0.813 GB, free: 404 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.428e-05/0.002674, allocations: 142.2 kB / 0.8132 GB, free: 248 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.002682, allocations: 27.45 kB / 0.8132 GB, free: 216 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.002709, allocations: 126.9 kB / 0.8133 GB, free: 84 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.002732, allocations: 0 / 0.8133 GB, free: 84 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.002753, allocations: 19.38 kB / 0.8133 GB, free: 56 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.002869, allocations: 0.4944 MB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.002877, allocations: 0 / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.002882, allocations: 7.938 kB / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.741e-05/0.00291, allocations: 7.688 kB / 0.8138 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.002911, allocations: 4 kB / 0.8138 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.304e-05/0.002944, allocations: 36.89 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.002954, allocations: 4 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.002957, allocations: 0 / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.002969, allocations: 4 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.458e-05/0.003013, allocations: 3.984 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.003017, allocations: 0 / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-06/0.003026, allocations: 4.281 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.003038, allocations: 4 kB / 0.8139 GB, free: 15.47 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 (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 5.445e-05/0.003092, allocations: 153.7 kB / 0.814 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-06/0.003097, allocations: 4 kB / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.003169, allocations: 45.7 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.00317, allocations: 0.5625 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.003173, allocations: 1 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.003175, allocations: 0 / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.116e-05/0.003226, allocations: 112.6 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.003227, allocations: 0.9375 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-06/0.003234, allocations: 4 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.003235, allocations: 2.281 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.00324, allocations: 3.938 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.003242, allocations: 3.984 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.003242, allocations: 0 / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.713e-05/0.00329, allocations: 72.39 kB / 0.8143 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-06/0.003294, allocations: 4 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-06/0.003301, allocations: 0.8125 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-06/0.003306, allocations: 0 / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.00332, allocations: 4.922 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.003322, allocations: 0 / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.677e-05/0.003349, allocations: 123.2 kB / 0.8144 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.003349, allocations: 1.219 kB / 0.8144 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001346/0.003484, allocations: 4 kB / 0.8144 GB, free: 14.88 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 (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.0001019/0.003586, allocations: 104.1 kB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.538e-05/0.003651, allocations: 20.56 kB / 0.8145 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.003653, allocations: 3.938 kB / 0.8145 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.346e-06/0.003661, allocations: 16.73 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.084e-05/0.003752, allocations: 5.828 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001677/0.003919, allocations: 84.98 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.619e-05/0.003946, allocations: 51.36 kB / 0.8147 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.084e-05/0.003967, allocations: 6.156 kB / 0.8147 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.003982, allocations: 8.5 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.003983, allocations: 1.031 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.00163/0.005613, allocations: 316.7 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_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: 4.974525212077424]