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.001274/0.001274, allocations: 103.5 kB / 16.4 MB, free: 5.977 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.001253/0.001253, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.489/1.489, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.359/2.359, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9428/0.9442, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001994/0.9462, allocations: 0.5178 MB / 1.089 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005123/0.9468, allocations: 192.4 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.9468, allocations: 0 / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.9469, allocations: 5.031 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.9469, allocations: 0.75 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.9473, allocations: 63.67 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.326e-05/0.9474, allocations: 16.98 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.9475, allocations: 9.531 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.434e-05/0.9475, allocations: 7.75 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.976e-05/0.9475, allocations: 3.672 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.9475, allocations: 0.8438 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.9478, allocations: 133 kB / 1.09 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.9479, allocations: 7.578 kB / 1.09 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.9479, allocations: 11.31 kB / 1.09 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.9481, allocations: 71.05 kB / 1.09 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.9481, allocations: 1.734 kB / 1.09 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9481, allocations: 0 / 1.09 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.9481, allocations: 0 / 1.09 GB, free: 4.98 MB / 0.8575 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.0003248/0.9484, allocations: 343.8 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.9485, allocations: 9.094 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.9485, allocations: 7.062 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.615e-05/0.9486, allocations: 172.3 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.9486, allocations: 384 / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.9487, allocations: 2.531 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.9488, allocations: 36.55 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.9488, allocations: 4.188 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.9488, allocations: 7.938 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.9488, allocations: 1.062 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.06e-05/0.9489, allocations: 14.22 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.949, allocations: 162.7 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.596e-05/0.9491, allocations: 24.11 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.9491, allocations: 11.72 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.9491, allocations: 3.891 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.9492, allocations: 36.23 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.9492, allocations: 0 / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005283/0.9497, allocations: 301.2 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.9497, allocations: 51.41 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.9498, allocations: 109.3 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.9498, allocations: 25.7 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.9499, allocations: 95.64 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.9499, allocations: 11.69 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.9499, allocations: 22.73 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.95, allocations: 313.6 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.95, allocations: 15.94 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.9501, allocations: 23.34 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.656e-05/0.9502, allocations: 44.92 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.9502, allocations: 0 / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001075/0.9503, allocations: 71.88 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.9503, allocations: 8.625 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9503, allocations: 5.047 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.9503, allocations: 1.094 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/0.9504, allocations: 6.922 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.9504, allocations: 0.9062 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.9504, allocations: 1.609 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.9505, allocations: 5.188 kB / 1.091 GB, free: 3.09 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 6.204e-05/0.9505, allocations: 111 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.9505, allocations: 6.359 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.9507, allocations: 82.59 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.9507, allocations: 1.156 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9507, allocations: 0.6094 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9507, allocations: 0 / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.9508, allocations: 164.2 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9509, allocations: 1.953 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.9509, allocations: 12.36 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.9509, allocations: 4.938 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.9509, allocations: 1.547 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.9509, allocations: 0 / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.9509, allocations: 1.922 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.9511, allocations: 103.4 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.9511, allocations: 83.53 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.9512, allocations: 5.781 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.9512, allocations: 5.312 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.9512, allocations: 2.312 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.9512, allocations: 0.875 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.9513, allocations: 89.45 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9513, allocations: 0 / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002159/0.9515, allocations: 17.36 kB / 1.092 GB, free: 2.449 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.000181/0.9517, allocations: 120.3 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.9518, allocations: 35.45 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9518, allocations: 4.75 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.722e-05/0.9519, allocations: 17.41 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.952, allocations: 2.953 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.9523, allocations: 152.9 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.9524, allocations: 0.6803 MB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.9525, allocations: 10.73 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.9525, allocations: 0 / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of Templates: time 0.003793/0.9563, allocations: 0.8397 MB / 1.094 GB, free: 1.445 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches