Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007527/0.007527, allocations: 95.44 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 202.6 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 61.78 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3506, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001802/0.3525, allocations: 0.5272 MB / 1.088 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005714/0.3531, allocations: 187.8 kB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.3531, allocations: 7.938 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.3532, allocations: 0 / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.3532, allocations: 0 / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.3537, allocations: 59.8 kB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.346e-05/0.3537, allocations: 15.98 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.3538, allocations: 0 / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.3538, allocations: 7.938 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.011e-05/0.3539, allocations: 11.97 kB / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3539, allocations: 0 / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.3541, allocations: 127.8 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.3542, allocations: 8 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.3542, allocations: 7.922 kB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3544, allocations: 75.77 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3544, allocations: 3.938 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3544, allocations: 4 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.3544, allocations: 0 / 1.089 GB, free: 472 kB / 0.8419 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.0004312/0.3549, allocations: 339.3 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3549, allocations: 8.031 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.355, allocations: 0.9375 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3551, allocations: 172.3 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3551, allocations: 4.312 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.3552, allocations: 4.375 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.3553, allocations: 38.25 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3553, allocations: 4.188 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3553, allocations: 7.938 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3553, allocations: 7.938 kB / 1.089 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.89e-05/0.3554, allocations: 8 kB / 1.089 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.3556, allocations: 157.7 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.065e-05/0.3556, allocations: 30.55 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.3557, allocations: 12.92 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.3557, allocations: 8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.3558, allocations: 30.56 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3558, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006374/0.3564, allocations: 302.2 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3565, allocations: 55.34 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/0.3566, allocations: 114.1 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3566, allocations: 29.7 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.3566, allocations: 84.12 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3567, allocations: 15.89 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.3567, allocations: 13.72 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3568, allocations: 318.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.3569, allocations: 8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.365e-05/0.3569, allocations: 29.7 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.709e-05/0.357, allocations: 37.72 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.357, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.785e-05/0.3571, allocations: 73.56 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3571, allocations: 13.66 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3571, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3571, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.3572, allocations: 8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3572, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.3572, allocations: 4.062 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3573, allocations: 3.938 kB / 1.091 GB, free: 14.28 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.3574, allocations: 117.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.3574, allocations: 11.88 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.3576, allocations: 69.52 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3576, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3576, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3576, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.3577, allocations: 165.7 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3577, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.3578, allocations: 7.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3578, allocations: 3.938 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.3578, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3578, allocations: 3.938 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3578, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.358, allocations: 105.1 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.358, allocations: 77.17 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3581, allocations: 19.92 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.904e-05/0.3581, allocations: 4.031 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.3581, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.3581, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.3582, allocations: 87.27 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3582, allocations: 0 / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000218/0.3584, allocations: 20 kB / 1.091 GB, free: 13.48 MB / 0.8575 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 (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.0001725/0.3586, allocations: 119.2 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.3587, allocations: 39.92 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3587, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.3587, allocations: 16.22 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.3589, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.3592, allocations: 133.6 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.3594, allocations: 0.6846 MB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.3595, allocations: 4.672 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.3595, allocations: 11.44 kB / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3595, allocations: 3.938 kB / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of Templates: time 0.003433/0.3629, allocations: 0.8954 MB / 1.093 GB, free: 11.52 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches