Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001073/0.001073, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 185.6 kB / 16.92 MB, free: 6.688 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 8 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6766, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006401/0.6772, allocations: 252.8 kB / 1.024 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005428/0.6778, allocations: 207.3 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.422e-05/0.6778, allocations: 4 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.6779, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.841e-05/0.6779, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.6782, allocations: 43.88 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.533e-05/0.6783, allocations: 15.98 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.6783, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.52e-05/0.6784, allocations: 11.94 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.762e-05/0.6784, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.6784, allocations: 4 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.6786, allocations: 119.8 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.6787, allocations: 12 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.6787, allocations: 29.64 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.6788, allocations: 47.92 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6789, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6789, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.6789, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.7794 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.0002968/0.6792, allocations: 337.4 kB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.6792, allocations: 12.03 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.6792, allocations: 8.828 kB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.6794, allocations: 164.4 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.6794, allocations: 4.375 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.6794, allocations: 384 / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/0.6795, allocations: 42.19 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.6795, allocations: 192 / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.6795, allocations: 7.938 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.6795, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.508e-05/0.6796, allocations: 8 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.6797, allocations: 157.7 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.727e-05/0.6798, allocations: 30.56 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.6798, allocations: 12.92 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.6799, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.6799, allocations: 38.5 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.6799, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005207/0.6804, allocations: 310.3 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.6805, allocations: 51.41 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.6806, allocations: 105.8 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.6806, allocations: 25.7 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.6806, allocations: 96.11 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.6807, allocations: 3.906 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.6807, allocations: 21.66 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6808, allocations: 310.8 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.6808, allocations: 19.98 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.6809, allocations: 25.7 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.6809, allocations: 37.66 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.681, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.6811, allocations: 65.67 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.6811, allocations: 13.66 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.6811, allocations: 4.062 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.6811, allocations: 3.938 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.6812, allocations: 11.94 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6812, allocations: 0 / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.6812, allocations: 4 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.6812, allocations: 0 / 1.026 GB, free: 12.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.6813, allocations: 114.4 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.6813, allocations: 11.84 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.6814, allocations: 73.89 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.6815, allocations: 192 / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6815, allocations: 0 / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.6815, allocations: 3.984 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.6816, allocations: 165.6 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6816, allocations: 4 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.6816, allocations: 7.984 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.6817, allocations: 7.938 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.6817, allocations: 0 / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6817, allocations: 0 / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.6817, allocations: 0 / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.6818, allocations: 105.1 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.6819, allocations: 81.02 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.6819, allocations: 3.938 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.564e-05/0.6819, allocations: 8.016 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.6819, allocations: 0 / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.682, allocations: 0 / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.682, allocations: 95.25 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.402e-06/0.682, allocations: 4.062 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002047/0.6822, allocations: 23.94 kB / 1.027 GB, free: 12.11 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 (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.0001746/0.6824, allocations: 115.2 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.218e-05/0.6825, allocations: 27.98 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6825, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.6825, allocations: 15.98 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.6827, allocations: 8 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.6829, allocations: 174.3 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.6832, allocations: 0.6848 MB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.6832, allocations: 7.438 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6832, allocations: 0 / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.002129/0.6853, allocations: 0.8372 MB / 1.029 GB, free: 10.18 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches