Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 173.3 kB / 326.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009319/0.0009317, allocations: 85.98 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003629, allocations: 10.05 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2457, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1739/0.4197, allocations: 131.1 MB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.4199, allocations: 71.95 kB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004024/0.4239, allocations: 1.359 MB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.868e-06/0.424, allocations: 0 / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.424, allocations: 3.938 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003167/0.4243, allocations: 348.8 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4243, allocations: 8.031 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.4244, allocations: 7.906 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.4245, allocations: 167 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.4245, allocations: 0 / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.4246, allocations: 4 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.4247, allocations: 37.69 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.4247, allocations: 3.938 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.4247, allocations: 4 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4247, allocations: 8 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.4248, allocations: 11.98 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.4249, allocations: 157.7 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.218e-05/0.425, allocations: 26.56 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.4251, allocations: 4.062 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.4251, allocations: 34.56 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4251, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0006023/0.4257, allocations: 298.2 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.4258, allocations: 55.34 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.045e-05/0.4258, allocations: 108.9 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4259, allocations: 25.7 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.4259, allocations: 84.14 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.4259, allocations: 15.8 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.4259, allocations: 4.219 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4261, allocations: 314.8 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.4261, allocations: 15.92 kB / 1.031 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.4261, allocations: 29.7 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.4262, allocations: 15.94 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.4262, allocations: 0 / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/0.4263, allocations: 69.67 kB / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4263, allocations: 8 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4263, allocations: 7.938 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4263, allocations: 0 / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.4264, allocations: 11.98 kB / 1.031 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.4264, allocations: 0 / 1.031 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.4264, allocations: 4 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.4265, allocations: 4 kB / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.446e-05/0.4266, allocations: 114.5 kB / 1.031 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.4266, allocations: 3.906 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.4267, allocations: 89.48 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4268, allocations: 4.188 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4268, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4268, allocations: 3.984 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.4269, allocations: 157.7 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4269, allocations: 3.953 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.427, allocations: 8 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.427, allocations: 3.984 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.427, allocations: 0 / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.427, allocations: 4 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.427, allocations: 0 / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.4272, allocations: 109 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.4272, allocations: 89 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.4273, allocations: 0 / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.4273, allocations: 4 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.4273, allocations: 4 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.4273, allocations: 0 / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.4274, allocations: 91.33 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4274, allocations: 0 / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000207/0.4276, allocations: 28 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001851/0.4278, allocations: 127.1 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.652e-05/0.4279, allocations: 35.92 kB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4279, allocations: 0 / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.4279, allocations: 12 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.922e-05/0.428, allocations: 3.312 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.4283, allocations: 140.9 kB / 1.032 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.4286, allocations: 0.6887 MB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.4287, allocations: 4 kB / 1.033 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.4287, allocations: 7.438 kB / 1.033 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.4287, allocations: 4 kB / 1.033 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of Templates: time 0.00297/0.4317, allocations: 0.8617 MB / 1.034 GB, free: 6.359 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches