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.001022/0.001021, allocations: 97.95 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.008219/0.008219, allocations: 171.8 kB / 16.27 MB, free: 6.648 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.823/2.823, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003939, allocations: 9 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3848, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0007139/0.3855, allocations: 254.9 kB / 1.059 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005516/0.3861, allocations: 207.4 kB / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.3861, allocations: 3.938 kB / 1.059 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.3862, allocations: 0 / 1.059 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.59e-05/0.3862, allocations: 0 / 1.059 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.3865, allocations: 47.83 kB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.984e-05/0.3866, allocations: 19.97 kB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.3867, allocations: 7.984 kB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.3867, allocations: 7.938 kB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.978e-05/0.3867, allocations: 3.984 kB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.3867, allocations: 4 kB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.3869, allocations: 119.8 kB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.387, allocations: 4 kB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.387, allocations: 33.62 kB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.3872, allocations: 67.84 kB / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3872, allocations: 4 kB / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3872, allocations: 0 / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3872, allocations: 0 / 1.059 GB, free: 4.734 MB / 0.8106 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.0003393/0.3876, allocations: 335.7 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3876, allocations: 8.031 kB / 1.06 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.3877, allocations: 12.83 kB / 1.06 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3878, allocations: 164.4 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3878, allocations: 384 / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.3878, allocations: 4.375 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.3879, allocations: 42.12 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.388, allocations: 192 / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.388, allocations: 11.94 kB / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.388, allocations: 0 / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.882e-05/0.388, allocations: 8 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.3882, allocations: 161.7 kB / 1.06 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.678e-05/0.3883, allocations: 26.56 kB / 1.06 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.3883, allocations: 8.922 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.3883, allocations: 4 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.3884, allocations: 42.5 kB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3884, allocations: 0 / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005691/0.389, allocations: 310.1 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.389, allocations: 51.41 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.3891, allocations: 109.8 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3891, allocations: 25.7 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.3892, allocations: 92.34 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3892, allocations: 7.906 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.3892, allocations: 13.72 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.3893, allocations: 310.8 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.3893, allocations: 15.98 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.3894, allocations: 29.64 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.3e-05/0.3895, allocations: 45.66 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3895, allocations: 0 / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.929e-05/0.3896, allocations: 69.58 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3896, allocations: 7.938 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3896, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3896, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.3897, allocations: 11.94 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3897, allocations: 0 / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.3897, allocations: 0 / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.3897, allocations: 4.062 kB / 1.061 GB, free: 2.559 MB / 0.8106 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.234e-05/0.3898, allocations: 127.3 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-06/0.3898, allocations: 3.938 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.3899, allocations: 65.58 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.39, allocations: 7.938 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.39, allocations: 0 / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.39, allocations: 0 / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.3901, allocations: 165.6 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3901, allocations: 0 / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.3902, allocations: 15.98 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3902, allocations: 3.938 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3902, allocations: 4 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3902, allocations: 0 / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3902, allocations: 192 / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.3903, allocations: 105 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.3904, allocations: 81.14 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3904, allocations: 3.938 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.694e-05/0.3905, allocations: 8.047 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.3905, allocations: 0 / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.3905, allocations: 4 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.3906, allocations: 91.27 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.392e-06/0.3906, allocations: 0 / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002091/0.3908, allocations: 23.94 kB / 1.062 GB, free: 1.758 MB / 0.8106 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.0001791/0.391, allocations: 111.2 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.3911, allocations: 28.05 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3911, allocations: 8.062 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.3911, allocations: 11.98 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.3913, allocations: 11.88 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.3915, allocations: 140.6 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3918, allocations: 0.6809 MB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.3918, allocations: 16.47 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.3918, allocations: 11.44 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3918, allocations: 0 / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of Templates: time 0.003264/0.3951, allocations: 0.8739 MB / 1.064 GB, free: 15.82 MB / 0.8262 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