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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001082/0.001082, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001212/0.001212, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 12 kB / 0.8708 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6284/0.6287, allocations: 153.6 MB / 1.021 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0005512/0.6293, allocations: 256.7 kB / 1.021 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003957/0.6297, allocations: 175.6 kB / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.6298, allocations: 0 / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.6298, allocations: 3.938 kB / 1.021 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/0.6298, allocations: 4 kB / 1.021 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.6301, allocations: 47.86 kB / 1.021 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.292e-05/0.6302, allocations: 4 kB / 1.021 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.6302, allocations: 0 / 1.021 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.6303, allocations: 11.94 kB / 1.021 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.2e-05/0.6303, allocations: 7.969 kB / 1.021 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.6303, allocations: 4 kB / 1.021 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.6305, allocations: 103.9 kB / 1.021 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.6305, allocations: 7.922 kB / 1.021 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.6306, allocations: 33.7 kB / 1.021 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.978e-05/0.6307, allocations: 39.92 kB / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.6307, allocations: 0 / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6307, allocations: 0 / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.6307, allocations: 4 kB / 1.021 GB, free: 496 kB / 0.7637 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.0002715/0.631, allocations: 333.3 kB / 1.022 GB, free: 116 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.631, allocations: 11.98 kB / 1.022 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.631, allocations: 7.891 kB / 1.022 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.6312, allocations: 167.1 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.6312, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.6312, allocations: 8 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.853e-05/0.6313, allocations: 45.58 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.6313, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.6314, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6314, allocations: 4 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.6314, allocations: 11.94 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.6315, allocations: 157.7 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.83e-05/0.6316, allocations: 38.5 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.6316, allocations: 8.062 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.6317, allocations: 30.56 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.6317, allocations: 0 / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005177/0.6322, allocations: 302.1 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.6322, allocations: 59.41 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.6323, allocations: 110.1 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.6323, allocations: 25.7 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.6324, allocations: 84.14 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.6324, allocations: 15.8 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.6324, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.6325, allocations: 310.8 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.6326, allocations: 19.98 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.6326, allocations: 17.72 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.6326, allocations: 23.98 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.6326, allocations: 0 / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.781e-05/0.6327, allocations: 65.62 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.6328, allocations: 4 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6328, allocations: 7.953 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.6328, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.6328, allocations: 4 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.6329, allocations: 4 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.6329, allocations: 4.062 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.6329, allocations: 0 / 1.023 GB, free: 14.38 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.266e-05/0.633, allocations: 117.8 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.633, allocations: 3.906 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.6331, allocations: 73.52 kB / 1.023 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6331, allocations: 3.953 kB / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6331, allocations: 4 kB / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6331, allocations: 0 / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.6332, allocations: 165.7 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.6333, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.6333, allocations: 11.94 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6333, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.6333, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6333, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6333, allocations: 3.953 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.6335, allocations: 109.2 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.6335, allocations: 81.02 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.6335, allocations: 8.047 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.442e-05/0.6336, allocations: 4 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.6336, allocations: 7.984 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.6336, allocations: 3.938 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.254e-05/0.6337, allocations: 91.56 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6337, allocations: 0 / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002068/0.6339, allocations: 20 kB / 1.024 GB, free: 13.57 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00015/0.6341, allocations: 115.2 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.681e-05/0.6342, allocations: 39.92 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6342, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.03e-05/0.6342, allocations: 15.98 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.553e-05/0.6343, allocations: 2.109 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/0.6345, allocations: 136.9 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.6348, allocations: 0.6848 MB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.6348, allocations: 12.06 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.6348, allocations: 7.438 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6348, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.002753/0.6376, allocations: 0.8611 MB / 1.026 GB, free: 11.64 MB / 0.7794 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","../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches