Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00165/0.00165, allocations: 106.4 kB / 16.41 MB, free: 6.516 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.001952/0.001952, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.819, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00163/0.8207, allocations: 0.5228 MB / 1.209 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004797/0.8212, allocations: 195.3 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.8212, allocations: 0 / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.8212, allocations: 0 / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.8213, allocations: 3.938 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.8217, allocations: 59.84 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.55e-05/0.8217, allocations: 11.98 kB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.8218, allocations: 4 kB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.01e-05/0.8218, allocations: 7.984 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.812e-05/0.8218, allocations: 11.94 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.8219, allocations: 0 / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.8221, allocations: 135.8 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.8222, allocations: 7.984 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.8222, allocations: 7.938 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.8224, allocations: 67.83 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.8224, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8224, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.8224, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9356 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.000381/0.8228, allocations: 347.3 kB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.8228, allocations: 8.031 kB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.8229, allocations: 4.938 kB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.823, allocations: 168.2 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.823, allocations: 4.375 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.823, allocations: 8.359 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.747e-05/0.8231, allocations: 34.27 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.8231, allocations: 4.125 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8231, allocations: 3.938 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.8232, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.8232, allocations: 11.98 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.8234, allocations: 157.7 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.89e-05/0.8234, allocations: 30.55 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.8234, allocations: 12.91 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.8235, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.8235, allocations: 38.56 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.8235, allocations: 3.938 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005359/0.8241, allocations: 298.2 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.8241, allocations: 51.41 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.8242, allocations: 113.8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.8243, allocations: 25.7 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.8243, allocations: 88.36 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.8243, allocations: 13.64 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.8244, allocations: 21.7 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8245, allocations: 310.8 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.8245, allocations: 15.98 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.8246, allocations: 21.72 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.88e-05/0.8246, allocations: 49.64 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.8246, allocations: 0 / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.004e-05/0.8247, allocations: 65.62 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.8247, allocations: 7.938 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.8247, allocations: 0 / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8248, allocations: 3.984 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.8248, allocations: 8 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8248, allocations: 0 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.8249, allocations: 0 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.8249, allocations: 8 kB / 1.211 GB, free: 10.43 MB / 0.9356 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.806e-05/0.8249, allocations: 113.9 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.825, allocations: 7.844 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.8251, allocations: 69.52 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8251, allocations: 4 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8251, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8251, allocations: 3.984 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.8252, allocations: 169.7 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.8252, allocations: 0 / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.8253, allocations: 4 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.8253, allocations: 12.12 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8253, allocations: 4 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.8253, allocations: 3.984 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8253, allocations: 3.938 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.8255, allocations: 105 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.8255, allocations: 85.05 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.8255, allocations: 7.875 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.714e-05/0.8256, allocations: 4.062 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.8256, allocations: 3.984 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.8256, allocations: 4 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.8257, allocations: 87.28 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.8257, allocations: 0 / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002127/0.8259, allocations: 19.98 kB / 1.212 GB, free: 9.617 MB / 0.9356 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.0001697/0.8261, allocations: 111.2 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.8262, allocations: 35.98 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8262, allocations: 4.125 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.8262, allocations: 15.94 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.8264, allocations: 4 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.8267, allocations: 159.1 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.8269, allocations: 0.6846 MB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.827, allocations: 11.44 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.827, allocations: 0 / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of Templates: time 0.002369/0.8293, allocations: 0.8469 MB / 1.214 GB, free: 7.688 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches