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.001298/0.001298, allocations: 106.7 kB / 15.99 MB, free: 6.359 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.001371/0.001371, allocations: 194.1 kB / 16.91 MB, free: 6.195 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.368/1.368, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.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.197/2.197, allocations: 390.2 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 68.12 kB / 0.8127 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2843, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001792/0.2861, allocations: 0.5755 MB / 0.9503 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004908/0.2866, allocations: 197.5 kB / 0.9505 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.2867, allocations: 0 / 0.9505 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.2867, allocations: 0 / 0.9505 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.2867, allocations: 0 / 0.9505 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.2871, allocations: 59.86 kB / 0.9506 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.462e-05/0.2872, allocations: 8 kB / 0.9506 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.2873, allocations: 7.984 kB / 0.9506 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.199e-05/0.2873, allocations: 7.984 kB / 0.9506 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.792e-05/0.2873, allocations: 3.938 kB / 0.9506 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2873, allocations: 0 / 0.9506 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.2876, allocations: 135.8 kB / 0.9507 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.2876, allocations: 8 kB / 0.9507 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.2876, allocations: 11.92 kB / 0.9507 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.2878, allocations: 47.92 kB / 0.9508 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2878, allocations: 0 / 0.9508 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2878, allocations: 0 / 0.9508 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2878, allocations: 0 / 0.9508 GB, free: 8.207 MB / 0.7325 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.0003749/0.2882, allocations: 343.6 kB / 0.9511 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2882, allocations: 8.031 kB / 0.9511 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.2883, allocations: 4.938 kB / 0.9511 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2884, allocations: 164.4 kB / 0.9513 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2884, allocations: 4.375 kB / 0.9513 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.2884, allocations: 12.22 kB / 0.9513 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2885, allocations: 42.25 kB / 0.9513 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2885, allocations: 192 / 0.9513 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2886, allocations: 3.938 kB / 0.9513 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.2886, allocations: 3.984 kB / 0.9514 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.036e-05/0.2886, allocations: 15.92 kB / 0.9514 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.2888, allocations: 157.7 kB / 0.9515 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.705e-05/0.2889, allocations: 26.58 kB / 0.9515 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.2889, allocations: 12.92 kB / 0.9516 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.289, allocations: 11.92 kB / 0.9516 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.289, allocations: 30.56 kB / 0.9516 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.289, allocations: 0 / 0.9516 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005614/0.2896, allocations: 302.4 kB / 0.9519 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.2896, allocations: 55.41 kB / 0.9519 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.2897, allocations: 113.8 kB / 0.952 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2898, allocations: 25.7 kB / 0.9521 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.2898, allocations: 80.14 kB / 0.9521 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.2898, allocations: 11.91 kB / 0.9522 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.2899, allocations: 17.7 kB / 0.9522 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.29, allocations: 318.9 kB / 0.9525 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.29, allocations: 8 kB / 0.9525 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.423e-05/0.29, allocations: 29.7 kB / 0.9525 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.2901, allocations: 37.7 kB / 0.9526 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.2901, allocations: 0 / 0.9526 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.473e-05/0.2902, allocations: 73.53 kB / 0.9526 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2902, allocations: 12 kB / 0.9526 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2902, allocations: 0 / 0.9526 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2903, allocations: 0 / 0.9526 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.125e-05/0.2903, allocations: 11.98 kB / 0.9526 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2903, allocations: 0 / 0.9526 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.2904, allocations: 0 / 0.9526 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.2904, allocations: 4 kB / 0.9526 GB, free: 6.023 MB / 0.7325 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.257e-05/0.2905, allocations: 119.7 kB / 0.9528 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.2905, allocations: 7.938 kB / 0.9528 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.2906, allocations: 73.52 kB / 0.9528 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2906, allocations: 0 / 0.9528 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2906, allocations: 0 / 0.9528 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2906, allocations: 4 kB / 0.9528 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.2908, allocations: 169.6 kB / 0.953 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2908, allocations: 0 / 0.953 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.2908, allocations: 4 kB / 0.953 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2908, allocations: 3.938 kB / 0.953 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2909, allocations: 0 / 0.953 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2909, allocations: 0 / 0.953 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2909, allocations: 12 kB / 0.953 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.291, allocations: 108.9 kB / 0.9531 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.2911, allocations: 77.11 kB / 0.9532 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2911, allocations: 11.97 kB / 0.9532 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.211e-05/0.2912, allocations: 240 / 0.9532 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.2912, allocations: 0 / 0.9532 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2912, allocations: 4 kB / 0.9532 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.2912, allocations: 91.27 kB / 0.9533 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2912, allocations: 4 kB / 0.9533 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002076/0.2915, allocations: 16 kB / 0.9533 GB, free: 5.223 MB / 0.7325 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.2916, allocations: 123.2 kB / 0.9534 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2918, allocations: 35.91 kB / 0.9535 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2918, allocations: 4 kB / 0.9535 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.2918, allocations: 8 kB / 0.9535 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.292, allocations: 10.25 kB / 0.9535 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.2922, allocations: 167.3 kB / 0.9537 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2925, allocations: 0.6844 MB / 0.9543 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.2925, allocations: 15.42 kB / 0.9543 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2925, allocations: 0 / 0.9543 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of Templates: time 0.002302/0.2948, allocations: 0.8512 MB / 0.9552 GB, free: 3.266 MB / 0.7325 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