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.00151/0.00151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002285/0.002285, allocations: 192.4 kB / 16.14 MB, free: 6.719 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.466/2.466, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8531/0.8544, allocations: 140.4 MB / 0.9489 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001859/0.8563, allocations: 0.5861 MB / 0.9495 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005057/0.8568, allocations: 203.4 kB / 0.9497 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.8568, allocations: 0 / 0.9497 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.8569, allocations: 4 kB / 0.9497 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.707e-05/0.8569, allocations: 1.031 kB / 0.9497 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.8573, allocations: 43.91 kB / 0.9497 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.392e-05/0.8573, allocations: 13.48 kB / 0.9497 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.8574, allocations: 2.125 kB / 0.9497 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.8574, allocations: 2.125 kB / 0.9497 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.191e-05/0.8575, allocations: 7.156 kB / 0.9497 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.8575, allocations: 0 / 0.9497 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.8577, allocations: 130.9 kB / 0.9499 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.8577, allocations: 3.094 kB / 0.9499 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.8578, allocations: 13.98 kB / 0.9499 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.8579, allocations: 71.33 kB / 0.95 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8579, allocations: 0 / 0.95 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.858, allocations: 1.625 kB / 0.95 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.858, allocations: 0 / 0.95 GB, free: 8.352 MB / 0.7169 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.0003264/0.8583, allocations: 337 kB / 0.9503 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.8583, allocations: 9.312 kB / 0.9503 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.8584, allocations: 6.188 kB / 0.9503 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.8585, allocations: 171 kB / 0.9505 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.8585, allocations: 4.375 kB / 0.9505 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.8585, allocations: 1.469 kB / 0.9505 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.8586, allocations: 41.78 kB / 0.9505 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.8586, allocations: 4.172 kB / 0.9505 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.8587, allocations: 5.125 kB / 0.9505 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.8587, allocations: 3.938 kB / 0.9505 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/0.8587, allocations: 8.75 kB / 0.9505 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.8589, allocations: 161.7 kB / 0.9507 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.8589, allocations: 34.88 kB / 0.9507 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.8589, allocations: 13.11 kB / 0.9507 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.859, allocations: 4.562 kB / 0.9507 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.859, allocations: 32 kB / 0.9508 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.859, allocations: 0 / 0.9508 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.00057/0.8596, allocations: 304.1 kB / 0.951 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.8596, allocations: 56.94 kB / 0.9511 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.8597, allocations: 111.4 kB / 0.9512 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.8597, allocations: 27.14 kB / 0.9512 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.8597, allocations: 85.41 kB / 0.9513 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.8598, allocations: 9.219 kB / 0.9513 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.8598, allocations: 13.25 kB / 0.9513 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.469e-05/0.8599, allocations: 316.1 kB / 0.9516 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.8599, allocations: 16.92 kB / 0.9517 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.8599, allocations: 29.64 kB / 0.9517 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.121e-05/0.86, allocations: 38.81 kB / 0.9517 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.86, allocations: 0 / 0.9517 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.867e-05/0.8601, allocations: 73.36 kB / 0.9518 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.8601, allocations: 8.969 kB / 0.9518 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8601, allocations: 5.094 kB / 0.9518 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.8601, allocations: 1.719 kB / 0.9518 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.8602, allocations: 5.719 kB / 0.9518 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8602, allocations: 0 / 0.9518 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.8602, allocations: 1.312 kB / 0.9518 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.8602, allocations: 1.562 kB / 0.9518 GB, free: 6.406 MB / 0.7169 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 5.688e-05/0.8603, allocations: 116.8 kB / 0.9519 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.8603, allocations: 6.75 kB / 0.9519 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.8605, allocations: 74.3 kB / 0.952 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.8605, allocations: 0 / 0.952 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8605, allocations: 1.375 kB / 0.952 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.8605, allocations: 0 / 0.952 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.97e-05/0.8606, allocations: 166 kB / 0.9522 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8606, allocations: 0 / 0.9522 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.8606, allocations: 13.48 kB / 0.9522 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8606, allocations: 3.938 kB / 0.9522 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.8606, allocations: 1.375 kB / 0.9522 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8607, allocations: 0 / 0.9522 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8607, allocations: 0 / 0.9522 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.8608, allocations: 111.7 kB / 0.9523 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.8608, allocations: 78.48 kB / 0.9524 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.8608, allocations: 9.297 kB / 0.9524 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.8609, allocations: 13.3 kB / 0.9524 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.8609, allocations: 1.375 kB / 0.9524 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.8609, allocations: 1.375 kB / 0.9524 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.759e-05/0.861, allocations: 86.14 kB / 0.9525 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.861, allocations: 4.062 kB / 0.9525 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002105/0.8612, allocations: 20.5 kB / 0.9525 GB, free: 5.719 MB / 0.7169 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.0001624/0.8613, allocations: 118.7 kB / 0.9526 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.5e-05/0.8614, allocations: 31.36 kB / 0.9526 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8615, allocations: 1.375 kB / 0.9526 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.313e-05/0.8615, allocations: 19.39 kB / 0.9527 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.8616, allocations: 1.312 kB / 0.9527 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.8619, allocations: 145.1 kB / 0.9528 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.862, allocations: 0.6834 MB / 0.9535 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.8621, allocations: 2.781 kB / 0.9535 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.279e-05/0.8621, allocations: 9.656 kB / 0.9535 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8621, allocations: 0 / 0.9535 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of Templates: time 0.003251/0.8653, allocations: 0.8731 MB / 0.9543 GB, free: 4.316 MB / 0.7169 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