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.0007877/0.0007877, allocations: 98.27 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.005016/0.005016, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 7.312 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3902, allocations: 159.6 MB / 1.059 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.000725/0.391, allocations: 258.9 kB / 1.059 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000585/0.3916, allocations: 199.4 kB / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.3916, allocations: 4 kB / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.3917, allocations: 0 / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.3917, allocations: 0 / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.3921, allocations: 51.86 kB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.655e-05/0.3921, allocations: 15.98 kB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.3922, allocations: 4 kB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.21e-05/0.3922, allocations: 7.922 kB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.165e-05/0.3923, allocations: 8 kB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3923, allocations: 0 / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.3925, allocations: 119.8 kB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.3925, allocations: 3.984 kB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.3926, allocations: 37.58 kB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.3927, allocations: 67.89 kB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3928, allocations: 0 / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3928, allocations: 4 kB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3928, allocations: 0 / 1.059 GB, free: 4.75 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.0003605/0.3931, allocations: 339.7 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3932, allocations: 12.03 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.3932, allocations: 4.844 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3934, allocations: 164.4 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.3934, allocations: 384 / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.3934, allocations: 384 / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3935, allocations: 42.19 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3935, allocations: 4.188 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3936, allocations: 3.938 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.3936, allocations: 4 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.236e-05/0.3936, allocations: 12 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.3938, allocations: 161.7 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.795e-05/0.3939, allocations: 22.58 kB / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.3939, allocations: 12.92 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.673e-05/0.394, allocations: 11.98 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.394, allocations: 38.44 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.394, allocations: 0 / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005967/0.3946, allocations: 306.1 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.3946, allocations: 51.41 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.3947, allocations: 110 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3948, allocations: 29.7 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.3948, allocations: 92.12 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.3948, allocations: 3.906 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3949, allocations: 17.72 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.395, allocations: 314.8 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.395, allocations: 8 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/0.395, allocations: 29.7 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.232e-05/0.3951, allocations: 45.64 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3951, allocations: 0 / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.903e-05/0.3952, allocations: 65.59 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3952, allocations: 11.94 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.3952, allocations: 0 / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3953, allocations: 0 / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.3953, allocations: 11.94 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3953, allocations: 3.938 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.3954, allocations: 8.062 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3954, allocations: 0 / 1.061 GB, free: 2.566 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.26e-05/0.3955, allocations: 117.8 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.3955, allocations: 7.938 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.3956, allocations: 65.58 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3956, allocations: 0 / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3956, allocations: 192 / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3957, allocations: 0 / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.3958, allocations: 173.6 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3958, allocations: 8 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.3959, allocations: 7.938 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3959, allocations: 3.938 kB / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.3959, allocations: 0 / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3959, allocations: 0 / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3959, allocations: 0 / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.3961, allocations: 105 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.3961, allocations: 81.09 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3961, allocations: 8 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.3962, allocations: 4.031 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.3962, allocations: 0 / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.3962, allocations: 0 / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.3963, allocations: 91.27 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3963, allocations: 3.938 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000209/0.3965, allocations: 20 kB / 1.062 GB, free: 1.777 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.0001922/0.3967, allocations: 119.2 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.488e-05/0.3968, allocations: 35.98 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3968, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.22e-05/0.3968, allocations: 15.98 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.397, allocations: 8 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.3973, allocations: 136.6 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3975, allocations: 0.6848 MB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.3976, allocations: 8.125 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.3976, allocations: 11.44 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3976, allocations: 0 / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of Templates: time 0.003287/0.4009, allocations: 0.8631 MB / 1.064 GB, free: 15.84 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