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.00897/0.00897, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001806/0.001806, allocations: 197.5 kB / 16.67 MB, free: 6.375 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: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.827/2.827, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3932, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001821/0.395, allocations: 0.5231 MB / 1.208 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005817/0.3956, allocations: 195.3 kB / 1.208 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.3957, allocations: 4 kB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.3957, allocations: 0 / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.3958, allocations: 0 / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.3962, allocations: 63.8 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.3963, allocations: 7.984 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.3963, allocations: 0 / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.3964, allocations: 4 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.046e-05/0.3964, allocations: 15.92 kB / 1.208 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.3964, allocations: 0 / 1.208 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.3966, allocations: 131.8 kB / 1.209 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.3967, allocations: 4 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.3967, allocations: 11.92 kB / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.3969, allocations: 67.83 kB / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3969, allocations: 8 kB / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3969, allocations: 0 / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3969, allocations: 0 / 1.209 GB, free: 8.66 MB / 0.9669 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.0003925/0.3973, allocations: 339.4 kB / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3974, allocations: 8.031 kB / 1.209 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.3974, allocations: 4.844 kB / 1.209 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3975, allocations: 172.4 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3975, allocations: 384 / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3976, allocations: 4.312 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.3977, allocations: 42.25 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3977, allocations: 192 / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3977, allocations: 7.875 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3977, allocations: 4 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.3978, allocations: 11.98 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.3979, allocations: 161.7 kB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.398, allocations: 26.56 kB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.398, allocations: 20.8 kB / 1.209 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.3981, allocations: 4 kB / 1.209 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.3981, allocations: 30.56 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3981, allocations: 0 / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005872/0.3987, allocations: 302.2 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.3988, allocations: 51.41 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.3988, allocations: 114.1 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3989, allocations: 25.7 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.3989, allocations: 88.12 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3989, allocations: 11.81 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.399, allocations: 13.72 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3991, allocations: 314.8 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.3991, allocations: 15.98 kB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.3992, allocations: 25.7 kB / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.507e-05/0.3992, allocations: 41.66 kB / 1.21 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3992, allocations: 4 kB / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.929e-05/0.3993, allocations: 65.67 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3994, allocations: 15.88 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3994, allocations: 0 / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3994, allocations: 0 / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.3995, allocations: 12 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3995, allocations: 4.062 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.3995, allocations: 0 / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.3995, allocations: 0 / 1.211 GB, free: 6.477 MB / 0.9669 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 8.354e-05/0.3996, allocations: 117.8 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.3996, allocations: 11.84 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.3997, allocations: 73.52 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3998, allocations: 0 / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3998, allocations: 0 / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3998, allocations: 7.938 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.3999, allocations: 161.7 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3999, allocations: 4 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.4, allocations: 7.984 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4, allocations: 3.938 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.4, allocations: 0 / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4, allocations: 0 / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4, allocations: 0 / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.4002, allocations: 105.1 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.4002, allocations: 81.02 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.4003, allocations: 3.938 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.4003, allocations: 8.016 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.4003, allocations: 0 / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.4003, allocations: 8.109 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.4004, allocations: 91.58 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4004, allocations: 0 / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002139/0.4006, allocations: 20 kB / 1.211 GB, free: 5.676 MB / 0.9669 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.000185/0.4008, allocations: 123.3 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.4009, allocations: 27.98 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4009, allocations: 0 / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.401, allocations: 27.91 kB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.4011, allocations: 4 kB / 1.211 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.4014, allocations: 137.4 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.4017, allocations: 0.6807 MB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.4017, allocations: 16.34 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.422e-05/0.4017, allocations: 7.438 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of SimCode: time 2.01e-07/0.4017, allocations: 0 / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of Templates: time 0.003324/0.4051, allocations: 0.8934 MB / 1.213 GB, free: 3.711 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches