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.001047/0.001048, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008605/0.008605, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.588/2.588, allocations: 390.9 MB / 0.6663 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.000501, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8598/0.8603, allocations: 142.4 MB / 0.955 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.000689/0.8611, allocations: 259 kB / 0.9553 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005807/0.8617, allocations: 189.2 kB / 0.9555 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.831e-05/0.8617, allocations: 5.406 kB / 0.9555 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.8617, allocations: 0 / 0.9555 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.8618, allocations: 3.984 kB / 0.9555 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.8622, allocations: 52.22 kB / 0.9555 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.892e-05/0.8623, allocations: 10.2 kB / 0.9555 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.8624, allocations: 1.312 kB / 0.9555 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.732e-05/0.8624, allocations: 2.812 kB / 0.9555 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.8624, allocations: 13.36 kB / 0.9555 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.8624, allocations: 1.469 kB / 0.9555 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.8627, allocations: 122.7 kB / 0.9557 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.8628, allocations: 6.641 kB / 0.9557 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.8628, allocations: 35.77 kB / 0.9557 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.863, allocations: 67.17 kB / 0.9558 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.863, allocations: 5.438 kB / 0.9558 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.863, allocations: 0 / 0.9558 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.863, allocations: 0 / 0.9558 GB, free: 7.082 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.0003077/0.8633, allocations: 333 kB / 0.9561 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.8634, allocations: 9.406 kB / 0.9561 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.8634, allocations: 3.469 kB / 0.9561 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/0.8635, allocations: 173.7 kB / 0.9563 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.8635, allocations: 1.781 kB / 0.9563 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.8636, allocations: 5.781 kB / 0.9563 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.8637, allocations: 41.2 kB / 0.9563 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8637, allocations: 192 / 0.9563 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.8637, allocations: 5.5 kB / 0.9563 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.8638, allocations: 0 / 0.9563 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.236e-05/0.8638, allocations: 12.48 kB / 0.9563 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.8639, allocations: 157.5 kB / 0.9565 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.02e-05/0.864, allocations: 22.61 kB / 0.9565 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.864, allocations: 21.5 kB / 0.9565 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.8641, allocations: 4.094 kB / 0.9565 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.8641, allocations: 35.16 kB / 0.9566 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8641, allocations: 1.25 kB / 0.9566 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005724/0.8647, allocations: 303.9 kB / 0.9569 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.8647, allocations: 56.47 kB / 0.9569 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.8648, allocations: 111.6 kB / 0.957 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.8648, allocations: 30.58 kB / 0.957 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.8649, allocations: 82.08 kB / 0.9571 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.8649, allocations: 16.89 kB / 0.9571 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.8649, allocations: 11.12 kB / 0.9571 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.865, allocations: 312.9 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.865, allocations: 17.05 kB / 0.9575 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.865, allocations: 28.47 kB / 0.9575 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.626e-05/0.8651, allocations: 42.27 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.8651, allocations: 0 / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001073/0.8652, allocations: 70.19 kB / 0.9576 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.8653, allocations: 10.97 kB / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8653, allocations: 1.125 kB / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.8653, allocations: 0 / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.8654, allocations: 10.45 kB / 0.9576 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.8654, allocations: 5 kB / 0.9576 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.8654, allocations: 0.6875 kB / 0.9576 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.8654, allocations: 2.094 kB / 0.9576 GB, free: 5.137 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 7.406e-05/0.8655, allocations: 108.9 kB / 0.9577 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.8655, allocations: 9.938 kB / 0.9577 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.8656, allocations: 74.67 kB / 0.9578 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8656, allocations: 0 / 0.9578 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8657, allocations: 1.125 kB / 0.9578 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.8657, allocations: 4 kB / 0.9578 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.981e-05/0.8658, allocations: 166 kB / 0.958 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.8658, allocations: 1.156 kB / 0.958 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.8658, allocations: 4.219 kB / 0.958 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.8658, allocations: 3.938 kB / 0.958 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.8658, allocations: 1.062 kB / 0.958 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.8659, allocations: 5.062 kB / 0.958 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8659, allocations: 0 / 0.958 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.866, allocations: 107.3 kB / 0.9581 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.866, allocations: 83.17 kB / 0.9582 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.8661, allocations: 3.938 kB / 0.9582 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.8661, allocations: 0.9375 kB / 0.9582 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.8661, allocations: 10.09 kB / 0.9582 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.8661, allocations: 5.078 kB / 0.9582 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.8662, allocations: 85.84 kB / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8662, allocations: 1.125 kB / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002209/0.8664, allocations: 15.56 kB / 0.9583 GB, free: 4.465 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.0001756/0.8666, allocations: 127.3 kB / 0.9584 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.8667, allocations: 30.91 kB / 0.9584 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8667, allocations: 1.5 kB / 0.9584 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.8667, allocations: 18.59 kB / 0.9585 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.8669, allocations: 2.469 kB / 0.9585 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.8672, allocations: 136.8 kB / 0.9586 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.8673, allocations: 0.6844 MB / 0.9593 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.8674, allocations: 7.125 kB / 0.9593 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.8674, allocations: 9.656 kB / 0.9593 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of SimCode: time 8.12e-07/0.8674, allocations: 0 / 0.9593 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of Templates: time 0.003655/0.871, allocations: 0.8697 MB / 0.9601 GB, free: 3.051 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