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.001384/0.001384, allocations: 113 kB / 15.99 MB, free: 5.891 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.001435/0.001435, allocations: 193.7 kB / 16.91 MB, free: 5.746 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.454/1.454, allocations: 222.9 MB / 240.6 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.803/2.803, allocations: 469.4 MB / 0.7423 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 74.77 kB / 0.9083 GB, free: 34.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3142, allocations: 159.1 MB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002841/0.3171, allocations: 0.5892 MB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006262/0.3177, allocations: 195.4 kB / 1.064 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.3178, allocations: 0 / 1.064 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.3178, allocations: 7.922 kB / 1.064 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.351e-05/0.3179, allocations: 0 / 1.064 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.3184, allocations: 47.94 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.815e-05/0.3185, allocations: 19.92 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.3186, allocations: 0 / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.3186, allocations: 11.94 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.01e-05/0.3186, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3187, allocations: 4 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.319, allocations: 131.8 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.319, allocations: 0 / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.3191, allocations: 7.938 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.3192, allocations: 47.92 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3192, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3192, allocations: 3.938 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.3193, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8262 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.0004909/0.3198, allocations: 347.6 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3198, allocations: 8.031 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.3199, allocations: 4.938 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.32, allocations: 168.3 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.32, allocations: 4.375 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.3201, allocations: 4.375 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.3202, allocations: 38.25 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3203, allocations: 192 / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3203, allocations: 3.938 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3203, allocations: 4 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.177e-05/0.3203, allocations: 8 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.3206, allocations: 161.7 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.3206, allocations: 34.5 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.3207, allocations: 8.922 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/0.3207, allocations: 4 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3208, allocations: 38.56 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.664e-06/0.3208, allocations: 0 / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0007293/0.3215, allocations: 298.2 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.3215, allocations: 51.41 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.3216, allocations: 109.8 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3217, allocations: 25.7 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.3217, allocations: 92.34 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.3218, allocations: 11.81 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.3218, allocations: 17.72 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.322, allocations: 310.8 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.322, allocations: 19.92 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.3221, allocations: 31.25 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.938e-05/0.3221, allocations: 41.72 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3222, allocations: 4 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001272/0.3223, allocations: 69.61 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3223, allocations: 11.88 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3223, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3224, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.3224, allocations: 8 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3225, allocations: 320 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.3225, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3225, allocations: 4 kB / 1.067 GB, free: 11.67 MB / 0.8262 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 0.000105/0.3226, allocations: 121.8 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.3226, allocations: 7.938 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.3228, allocations: 77.41 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3228, allocations: 192 / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3228, allocations: 4 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3228, allocations: 3.984 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.323, allocations: 161.7 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.323, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.323, allocations: 11.98 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.323, allocations: 7.938 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3231, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3231, allocations: 4 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3231, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.3232, allocations: 101 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.3233, allocations: 81.14 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3233, allocations: 3.938 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.3234, allocations: 8.047 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.3234, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3234, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.3235, allocations: 87.27 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3235, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002443/0.3237, allocations: 20 kB / 1.067 GB, free: 10.87 MB / 0.8262 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.0001893/0.3239, allocations: 111.2 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.324, allocations: 31.92 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.324, allocations: 8.125 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.568e-05/0.3241, allocations: 15.98 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.3242, allocations: 9.359 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.3246, allocations: 171.1 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3248, allocations: 0.6845 MB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.3249, allocations: 11.44 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3249, allocations: 0 / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.002557/0.3274, allocations: 0.8467 MB / 1.069 GB, free: 8.926 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches