Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00166/0.00166, allocations: 108.7 kB / 15.99 MB, free: 6.344 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.001566/0.001566, allocations: 191.7 kB / 16.91 MB, free: 6.18 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.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.729/2.729, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 73.03 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3351, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001742/0.3369, allocations: 0.5761 MB / 1.065 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004799/0.3374, allocations: 199.4 kB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.639e-05/0.3374, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.3374, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.174e-05/0.3375, allocations: 4 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.3378, allocations: 55.86 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.3379, allocations: 8 kB / 1.065 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.3379, allocations: 7.984 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.842e-05/0.338, allocations: 3.938 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.614e-05/0.338, allocations: 8 kB / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.338, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.3382, allocations: 127.8 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.3383, allocations: 7.984 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.3383, allocations: 11.94 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3384, allocations: 47.86 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3384, allocations: 4 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3384, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3384, allocations: 0 / 1.065 GB, free: 14.05 MB / 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.000373/0.3388, allocations: 339.7 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3389, allocations: 8.625 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.3389, allocations: 0.9375 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.339, allocations: 176.3 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3391, allocations: 4.359 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.3391, allocations: 4.312 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.3392, allocations: 42.2 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3392, allocations: 192 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3392, allocations: 3.938 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3392, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.3393, allocations: 11.98 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.3395, allocations: 161.7 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.107e-05/0.3395, allocations: 22.58 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.3396, allocations: 16.91 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.3396, allocations: 7.984 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3396, allocations: 38.5 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3396, allocations: 0 / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000546/0.3402, allocations: 302.2 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.3402, allocations: 51.62 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.3403, allocations: 113.8 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3404, allocations: 25.7 kB / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.3404, allocations: 84.14 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.3405, allocations: 11.8 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.3405, allocations: 17.72 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3407, allocations: 314.8 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.3407, allocations: 15.98 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.3407, allocations: 29.66 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.71e-05/0.3408, allocations: 41.64 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3408, allocations: 0 / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.3409, allocations: 65.69 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3409, allocations: 11.94 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.341, allocations: 3.984 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.341, allocations: 0 / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/0.341, allocations: 12 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.341, allocations: 4 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.3411, allocations: 144 / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3411, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8419 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 9.142e-05/0.3412, allocations: 114.4 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.3412, allocations: 11.92 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.3413, allocations: 73.48 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3413, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3414, allocations: 4 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3414, allocations: 3.984 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.3415, allocations: 161.7 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3415, allocations: 3.938 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.3416, allocations: 8 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3416, allocations: 3.938 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3416, allocations: 3.938 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3416, allocations: 3.984 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3416, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.3418, allocations: 105.1 kB / 1.067 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.3419, allocations: 77.11 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3419, allocations: 3.938 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.586e-05/0.3419, allocations: 4.031 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.342, allocations: 3.984 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.342, allocations: 4 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.342, allocations: 87.28 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.342, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002222/0.3423, allocations: 23.98 kB / 1.068 GB, free: 11.07 MB / 0.8419 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.0001855/0.3425, allocations: 123.2 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.3426, allocations: 31.92 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3426, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.671e-05/0.3426, allocations: 16 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.3428, allocations: 16.19 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.3431, allocations: 171.3 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3434, allocations: 0.6846 MB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.3434, allocations: 7.438 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3434, allocations: 0 / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of Templates: time 0.002684/0.3461, allocations: 0.8418 MB / 1.07 GB, free: 9.121 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches