Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006416/0.006416, allocations: 101.2 kB / 15.73 MB, free: 6.422 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.001406/0.001406, allocations: 185.2 kB / 16.67 MB, free: 6.352 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 65.53 kB / 0.9508 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3304, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001806/0.3323, allocations: 0.5204 MB / 1.088 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005381/0.3328, allocations: 195.7 kB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.3329, allocations: 0 / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.3329, allocations: 0 / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.196e-05/0.333, allocations: 7.938 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.3334, allocations: 51.86 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.3335, allocations: 19.98 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.3336, allocations: 0 / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.3336, allocations: 7.938 kB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.057e-05/0.3336, allocations: 11.97 kB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3336, allocations: 0 / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.3339, allocations: 131.8 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.3339, allocations: 3.984 kB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.334, allocations: 7.938 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3341, allocations: 71.83 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3342, allocations: 0 / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3342, allocations: 0 / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3342, allocations: 4 kB / 1.089 GB, free: 484 kB / 0.8419 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.0003811/0.3346, allocations: 339.4 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3346, allocations: 12.03 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.3346, allocations: 0.9375 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.3348, allocations: 176.2 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3348, allocations: 4.312 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3348, allocations: 4.359 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.335, allocations: 42.25 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.335, allocations: 192 / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.335, allocations: 7.938 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.335, allocations: 0 / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.831e-05/0.335, allocations: 8 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.3352, allocations: 157.7 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.142e-05/0.3353, allocations: 34.53 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.3353, allocations: 12.92 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.3354, allocations: 4 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3354, allocations: 34.56 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3354, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005585/0.336, allocations: 302.2 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.336, allocations: 51.41 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.3361, allocations: 109.8 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.3361, allocations: 29.86 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.3362, allocations: 96.12 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.3362, allocations: 11.75 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.3362, allocations: 17.72 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.3363, allocations: 314.8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.3364, allocations: 11.98 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.3364, allocations: 33.64 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.305e-05/0.3365, allocations: 37.72 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3365, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.44e-05/0.3366, allocations: 69.61 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3366, allocations: 7.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3366, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3366, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.3367, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3367, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.3367, allocations: 4.062 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.3367, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 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 7.323e-05/0.3368, allocations: 117.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.3368, allocations: 7.875 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.337, allocations: 81.42 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.337, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.337, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.337, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.3371, allocations: 161.7 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3371, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.3372, allocations: 11.98 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3372, allocations: 7.938 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.3372, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3372, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3372, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.3373, allocations: 109.3 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.3374, allocations: 77.11 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.3374, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.3374, allocations: 7.984 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.3375, allocations: 4.031 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3375, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.3375, allocations: 95.25 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3375, allocations: 0 / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002182/0.3377, allocations: 16 kB / 1.091 GB, free: 13.48 MB / 0.8575 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.0001693/0.3379, allocations: 115.2 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.338, allocations: 35.98 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.338, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.3381, allocations: 23.86 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.3382, allocations: 5.562 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.3385, allocations: 133.5 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.3387, allocations: 0.6807 MB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.3387, allocations: 4 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.3387, allocations: 7.562 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3388, allocations: 4 kB / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of Templates: time 0.003326/0.3421, allocations: 0.8969 MB / 1.093 GB, free: 11.53 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches