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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001574/0.001574, allocations: 100.1 kB / 15.88 MB, free: 12 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.001925/0.001925, allocations: 199.7 kB / 16.79 MB, free: 6.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 63.91 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7431, allocations: 140.4 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001965/0.7451, allocations: 0.5872 MB / 0.9501 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005464/0.7457, allocations: 198.7 kB / 0.9503 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.7457, allocations: 4 kB / 0.9503 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.7458, allocations: 0 / 0.9503 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.907e-05/0.7458, allocations: 1.219 kB / 0.9503 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.7462, allocations: 48.12 kB / 0.9504 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.716e-05/0.7463, allocations: 13.45 kB / 0.9504 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.7463, allocations: 6.047 kB / 0.9504 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.5e-05/0.7464, allocations: 2.125 kB / 0.9504 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.352e-05/0.7464, allocations: 14.17 kB / 0.9504 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.7464, allocations: 1.156 kB / 0.9504 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.7466, allocations: 122.5 kB / 0.9505 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.7467, allocations: 10.86 kB / 0.9505 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.7467, allocations: 10.44 kB / 0.9506 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.7469, allocations: 38.06 kB / 0.9506 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7469, allocations: 0 / 0.9506 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7469, allocations: 0 / 0.9506 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.7469, allocations: 1.031 kB / 0.9506 GB, free: 8.391 MB / 0.7169 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.0003281/0.7472, allocations: 340.4 kB / 0.9509 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7473, allocations: 9.656 kB / 0.9509 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.7473, allocations: 6.969 kB / 0.9509 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.498e-05/0.7474, allocations: 174.5 kB / 0.9511 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.7474, allocations: 384 / 0.9511 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.7475, allocations: 6.906 kB / 0.9511 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.7476, allocations: 36.44 kB / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.7476, allocations: 192 / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.7476, allocations: 9.219 kB / 0.9512 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.7476, allocations: 3.938 kB / 0.9512 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.7476, allocations: 8.312 kB / 0.9512 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.7478, allocations: 161.8 kB / 0.9513 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.749e-05/0.7478, allocations: 31.09 kB / 0.9513 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.7479, allocations: 13.55 kB / 0.9514 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.7479, allocations: 4.281 kB / 0.9514 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.7479, allocations: 35.92 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.7479, allocations: 0 / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005344/0.7485, allocations: 308.4 kB / 0.9517 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.7485, allocations: 55.39 kB / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.7486, allocations: 109.1 kB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.7486, allocations: 25.7 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.7486, allocations: 85.61 kB / 0.952 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.7487, allocations: 5.375 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.7487, allocations: 17.62 kB / 0.952 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.7488, allocations: 320 kB / 0.9523 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.7488, allocations: 13.5 kB / 0.9523 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.7488, allocations: 28.61 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.7489, allocations: 43.45 kB / 0.9524 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.7489, allocations: 0 / 0.9524 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.598e-05/0.749, allocations: 69.84 kB / 0.9524 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.749, allocations: 13.59 kB / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.749, allocations: 0 / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.749, allocations: 1.438 kB / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.7491, allocations: 9.594 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7491, allocations: 1.688 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.7491, allocations: 0 / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.7492, allocations: 5.391 kB / 0.9525 GB, free: 6.434 MB / 0.7169 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 5.351e-05/0.7492, allocations: 110.1 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.7492, allocations: 5.438 kB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.7494, allocations: 82.31 kB / 0.9527 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.7494, allocations: 1.062 kB / 0.9527 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7494, allocations: 0 / 0.9527 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7494, allocations: 5.281 kB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.895e-05/0.7495, allocations: 165.8 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7495, allocations: 0 / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.7495, allocations: 5.594 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7495, allocations: 3.938 kB / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.7496, allocations: 1.875 kB / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7496, allocations: 0 / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7496, allocations: 4 kB / 0.9528 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.7497, allocations: 107.3 kB / 0.9529 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.7497, allocations: 86.28 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.7498, allocations: 5.25 kB / 0.953 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-05/0.7498, allocations: 0 / 0.953 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.7498, allocations: 6.719 kB / 0.953 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.7498, allocations: 1.594 kB / 0.953 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.047e-05/0.7499, allocations: 92.83 kB / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7499, allocations: 1.625 kB / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002517/0.7501, allocations: 15.69 kB / 0.9531 GB, free: 5.754 MB / 0.7169 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.000185/0.7503, allocations: 123.9 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.83e-05/0.7504, allocations: 25.98 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.7505, allocations: 1.375 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.7505, allocations: 22.92 kB / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.7506, allocations: 2.75 kB / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.7509, allocations: 170 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.751, allocations: 0.6798 MB / 0.9541 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.7511, allocations: 10.19 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7511, allocations: 0 / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of Templates: time 0.002571/0.7536, allocations: 0.8437 MB / 0.955 GB, free: 4.34 MB / 0.7169 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches