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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001331/0.001331, allocations: 108 kB / 15.6 MB, free: 132 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.001468/0.001467, allocations: 194 kB / 16.53 MB, free: 6.391 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.482/1.482, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 74.19 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3821, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002217/0.3843, allocations: 0.5269 MB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005626/0.3849, allocations: 183.4 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.385, allocations: 0 / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.385, allocations: 4 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.3851, allocations: 7.922 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.3856, allocations: 59.86 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.3857, allocations: 7.984 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.3857, allocations: 0 / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.3858, allocations: 11.94 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.3858, allocations: 4 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3858, allocations: 7.938 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.3861, allocations: 131.8 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.3862, allocations: 4 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.3862, allocations: 11.92 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.3864, allocations: 63.83 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3864, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3864, allocations: 4 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3864, allocations: 0 / 1.069 GB, free: 9.43 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.0003824/0.3868, allocations: 343.7 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3869, allocations: 12.03 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.3869, allocations: 0.9375 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.387, allocations: 180.2 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3871, allocations: 8.312 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.3871, allocations: 384 / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.3872, allocations: 34.27 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3872, allocations: 192 / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3872, allocations: 3.938 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3872, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.923e-05/0.3873, allocations: 19.98 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.3875, allocations: 161.7 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.3875, allocations: 30.45 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.3876, allocations: 12.91 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.3876, allocations: 4 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3876, allocations: 30.56 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.3877, allocations: 4 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006299/0.3883, allocations: 304.4 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.3883, allocations: 51.41 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.3884, allocations: 109.8 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.3885, allocations: 29.7 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.3885, allocations: 84.14 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.3885, allocations: 16.02 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3886, allocations: 17.72 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3887, allocations: 314.8 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.3887, allocations: 15.98 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.3888, allocations: 25.7 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.719e-05/0.3888, allocations: 37.7 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3888, allocations: 4 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001005/0.3889, allocations: 65.72 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.389, allocations: 11.92 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.389, allocations: 7.984 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.389, allocations: 0 / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.3891, allocations: 4 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3891, allocations: 4 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.3891, allocations: 4 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.3891, allocations: 0 / 1.071 GB, free: 7.238 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 8.559e-05/0.3892, allocations: 117.8 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.3892, allocations: 15.78 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.3894, allocations: 73.52 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3894, allocations: 0 / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3894, allocations: 3.984 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3894, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.3895, allocations: 161.7 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3895, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.3896, allocations: 8 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3896, allocations: 7.938 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3896, allocations: 3.984 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3896, allocations: 4 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3897, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3898, allocations: 105 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.3899, allocations: 81.02 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3899, allocations: 3.938 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.59e-05/0.39, allocations: 4.094 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.39, allocations: 11.92 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.39, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.39, allocations: 87.28 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3901, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002197/0.3903, allocations: 19.98 kB / 1.072 GB, free: 6.434 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.0001952/0.3905, allocations: 119.8 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.3906, allocations: 31.98 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3906, allocations: 8.062 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/0.3906, allocations: 16 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.3908, allocations: 4.547 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.3911, allocations: 129.5 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3913, allocations: 0.6846 MB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.3914, allocations: 4 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.3914, allocations: 7.438 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3914, allocations: 4 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of Templates: time 0.00322/0.3946, allocations: 0.8917 MB / 1.074 GB, free: 4.48 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