Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 249.3 MB / 261.8 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 176.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007648/0.0007649, allocations: 94.41 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.362e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2243, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6983/0.9227, allocations: 131.6 MB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.9229, allocations: 81.5 kB / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002244/0.9252, allocations: 0.7692 MB / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9252, allocations: 4 kB / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.9252, allocations: 4 kB / 1.021 GB, free: 2.387 MB / 0.6355 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.0003225/0.9256, allocations: 334.4 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9256, allocations: 8.031 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.9256, allocations: 4 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.9258, allocations: 171 kB / 1.022 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.9258, allocations: 3.938 kB / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.9258, allocations: 8 kB / 1.022 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.9259, allocations: 41.36 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.9259, allocations: 0 / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.926, allocations: 4 kB / 1.022 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.926, allocations: 0 / 1.022 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.926, allocations: 14.3 kB / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.9264, allocations: 282 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.369e-05/0.9265, allocations: 34.25 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.9266, allocations: 12.3 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.9266, allocations: 4 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.9266, allocations: 30.56 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.9266, allocations: 0 / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.9268, allocations: 49.62 kB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.9268, allocations: 55.34 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.9269, allocations: 97.62 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.9269, allocations: 25.7 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.927, allocations: 91.56 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.927, allocations: 11.84 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.927, allocations: 0 / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.9271, allocations: 317.7 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.9272, allocations: 8.031 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.643e-05/0.9272, allocations: 7.812 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/0.9272, allocations: 11.92 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9272, allocations: 0 / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.02e-05/0.9273, allocations: 45.45 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9273, allocations: 4 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9273, allocations: 3.984 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.9273, allocations: 0 / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.9274, allocations: 12.09 kB / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.9275, allocations: 0 / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.9275, allocations: 19.55 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.9275, allocations: 0 / 1.023 GB, free: 0.5625 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.9276, allocations: 112.9 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.9276, allocations: 3.906 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.9278, allocations: 60.28 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.9278, allocations: 4.031 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9278, allocations: 4 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.9278, allocations: 0 / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.928, allocations: 164.9 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.928, allocations: 0 / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.928, allocations: 8 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.928, allocations: 4 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.9281, allocations: 0 / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9281, allocations: 0 / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9281, allocations: 3.984 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.9282, allocations: 150.1 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.9283, allocations: 85.06 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.9283, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.9284, allocations: 4 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.9284, allocations: 7.938 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.9284, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.9285, allocations: 91.25 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9285, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002003/0.9287, allocations: 8 kB / 1.023 GB, free: 15.79 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001779/0.9289, allocations: 103.2 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.302e-05/0.929, allocations: 26.44 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.929, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.929, allocations: 8 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.9291, allocations: 13.86 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.9294, allocations: 72.11 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.9296, allocations: 0.6848 MB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.9297, allocations: 4.438 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.9297, allocations: 7.438 kB / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/0.9297, allocations: 0 / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of Templates: time 0.00247/0.9322, allocations: 474 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_Polynominal.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches