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.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.001357/0.001357, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009195/0.0009195, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 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.9803/0.9803, allocations: 177.1 MB / 203.4 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.115/2.115, allocations: 429.5 MB / 0.6732 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.723e-06/1.723e-06, allocations: 0 / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.189e-05, allocations: 5.406 kB / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001051/0.001073, allocations: 0.6071 MB / 0.8788 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001635/0.001237, allocations: 24.83 kB / 0.8788 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.072e-05/0.001247, allocations: 5.031 kB / 0.8788 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.001262, allocations: 0 / 0.8788 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.001267, allocations: 0 / 0.8788 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.001522, allocations: 12.64 kB / 0.8789 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.723e-05/0.001559, allocations: 5.484 kB / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.006e-05/0.001589, allocations: 0 / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.001615, allocations: 7.828 kB / 0.8789 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.874e-05/0.001633, allocations: 7.984 kB / 0.8789 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.001648, allocations: 0 / 0.8789 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.92e-05/0.001707, allocations: 12.75 kB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-06/0.001714, allocations: 0 / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.001729, allocations: 7.984 kB / 0.8789 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.893e-05/0.001808, allocations: 8.641 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.00181, allocations: 0 / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00181, allocations: 0 / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.001814, allocations: 0 / 0.8789 GB, free: 5.562 MB / 0.8386 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.0002227/0.002037, allocations: 340.4 kB / 0.8792 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.002071, allocations: 10.27 kB / 0.8792 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.002102, allocations: 4.938 kB / 0.8792 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.24e-05/0.002154, allocations: 112.5 kB / 0.8794 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.002164, allocations: 5.375 kB / 0.8794 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.002173, allocations: 384 / 0.8794 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.713e-05/0.00224, allocations: 26.27 kB / 0.8794 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.002248, allocations: 1.312 kB / 0.8794 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.002255, allocations: 0.9219 kB / 0.8794 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.002262, allocations: 4.375 kB / 0.8794 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.31e-05/0.002275, allocations: 5.062 kB / 0.8794 GB, free: 5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.601e-05/0.002361, allocations: 104.6 kB / 0.8795 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/0.002395, allocations: 44.03 kB / 0.8795 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.002409, allocations: 8.562 kB / 0.8795 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.002441, allocations: 4.062 kB / 0.8795 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.002467, allocations: 34.27 kB / 0.8796 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.002468, allocations: 0 / 0.8796 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.785e-05/0.002565, allocations: 30.33 kB / 0.8796 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.002587, allocations: 57.06 kB / 0.8797 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.493e-05/0.002622, allocations: 146.2 kB / 0.8798 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.00263, allocations: 25.7 kB / 0.8798 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.002654, allocations: 127 kB / 0.8799 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.00268, allocations: 12.73 kB / 0.88 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.002703, allocations: 23.36 kB / 0.88 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.002799, allocations: 497.8 kB / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/0.002807, allocations: 0 / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-06/0.002813, allocations: 4 kB / 0.8805 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.002837, allocations: 8.406 kB / 0.8805 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.002838, allocations: 0 / 0.8805 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.54e-05/0.002874, allocations: 42.5 kB / 0.8805 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.002885, allocations: 4 kB / 0.8805 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.002889, allocations: 1.594 kB / 0.8805 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.0029, allocations: 3.938 kB / 0.8805 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.641e-05/0.002947, allocations: 4 kB / 0.8805 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.002951, allocations: 0 / 0.8805 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-06/0.00296, allocations: 6.719 kB / 0.8805 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.00297, allocations: 0 / 0.8805 GB, free: 3.715 MB / 0.8386 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.269e-05/0.003023, allocations: 156.6 kB / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-06/0.003026, allocations: 0 / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.121e-05/0.003097, allocations: 50.44 kB / 0.8807 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.003098, allocations: 0 / 0.8807 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.003101, allocations: 0 / 0.8807 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.003104, allocations: 0 / 0.8807 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.743e-05/0.003151, allocations: 108.6 kB / 0.8808 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.003152, allocations: 256 / 0.8808 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.003162, allocations: 11.98 kB / 0.8808 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.003163, allocations: 0 / 0.8808 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.003168, allocations: 0 / 0.8808 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.003169, allocations: 0 / 0.8808 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.003169, allocations: 3.938 kB / 0.8808 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.433e-05/0.003214, allocations: 68.39 kB / 0.8809 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-06/0.003217, allocations: 0 / 0.8809 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.003226, allocations: 7.984 kB / 0.8809 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-06/0.003231, allocations: 4 kB / 0.8809 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.003242, allocations: 0 / 0.8809 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.003245, allocations: 4.031 kB / 0.8809 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.582e-05/0.003271, allocations: 119.2 kB / 0.881 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.003271, allocations: 0 / 0.881 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001181/0.003389, allocations: 7.938 kB / 0.881 GB, free: 3.109 MB / 0.8386 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 9.005e-05/0.003479, allocations: 103.1 kB / 0.8811 GB, free: 3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.028e-05/0.003539, allocations: 19.61 kB / 0.8812 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.00354, allocations: 0 / 0.8812 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.253e-06/0.003547, allocations: 11.69 kB / 0.8812 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.785e-05/0.003635, allocations: 4.125 kB / 0.8812 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001632/0.003799, allocations: 88.7 kB / 0.8813 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.567e-05/0.003824, allocations: 51.36 kB / 0.8813 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.618e-05/0.00384, allocations: 4 kB / 0.8813 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.003859, allocations: 12.48 kB / 0.8813 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/0.003859, allocations: 0 / 0.8813 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of Templates: time 0.001565/0.005424, allocations: 302.9 kB / 0.8816 GB, free: 2.461 MB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.329930588137358]