Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00179/0.00179, allocations: 112.7 kB / 16.41 MB, free: 6.508 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.001841/0.001841, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.566/1.566, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.138, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002232/1.14, allocations: 0.5336 MB / 1.168 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007362/1.141, allocations: 187.4 kB / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/1.141, allocations: 0 / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.115e-05/1.141, allocations: 0 / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/1.141, allocations: 4 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/1.142, allocations: 55.8 kB / 1.168 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.94e-05/1.142, allocations: 15.98 kB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.356e-05/1.142, allocations: 7.938 kB / 1.168 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/1.142, allocations: 7.984 kB / 1.168 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/1.142, allocations: 11.92 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/1.142, allocations: 0 / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/1.142, allocations: 131.8 kB / 1.168 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/1.142, allocations: 3.984 kB / 1.168 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/1.142, allocations: 15.94 kB / 1.168 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/1.143, allocations: 64.81 kB / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.143, allocations: 0 / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.876e-06/1.143, allocations: 0 / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.107e-06/1.143, allocations: 0 / 1.168 GB, free: 2.812 MB / 0.8887 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.0006734/1.143, allocations: 346.9 kB / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/1.143, allocations: 12.03 kB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/1.144, allocations: 4.922 kB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/1.144, allocations: 172.3 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/1.144, allocations: 384 / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/1.144, allocations: 4.375 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/1.144, allocations: 42.19 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.144, allocations: 192 / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/1.144, allocations: 7.938 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/1.144, allocations: 0 / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/1.144, allocations: 8 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/1.144, allocations: 157.7 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.427e-05/1.144, allocations: 34.58 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/1.145, allocations: 16.86 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-05/1.145, allocations: 4 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/1.145, allocations: 38.5 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/1.145, allocations: 0 / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0008952/1.146, allocations: 302.3 kB / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/1.146, allocations: 51.41 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/1.146, allocations: 105.8 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/1.146, allocations: 25.7 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/1.146, allocations: 96.34 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/1.146, allocations: 7.906 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/1.146, allocations: 17.72 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002262/1.146, allocations: 318.8 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/1.146, allocations: 8 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/1.146, allocations: 29.7 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.933e-05/1.146, allocations: 45.64 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/1.146, allocations: 0 / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001161/1.147, allocations: 61.69 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.147, allocations: 11.88 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.147, allocations: 4 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.147, allocations: 0 / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/1.147, allocations: 11.94 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.147, allocations: 0 / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/1.147, allocations: 8 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/1.147, allocations: 4.062 kB / 1.17 GB, free: 0.6172 MB / 0.8887 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.0001477/1.147, allocations: 113.8 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/1.147, allocations: 7.891 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/1.147, allocations: 73.58 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/1.147, allocations: 0 / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.147, allocations: 0 / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.147, allocations: 0 / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/1.147, allocations: 165.7 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.147, allocations: 3.938 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/1.147, allocations: 11.98 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/1.147, allocations: 7.938 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/1.147, allocations: 3.938 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.147, allocations: 0 / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.147, allocations: 0 / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/1.148, allocations: 101.1 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.483e-05/1.148, allocations: 81.06 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.148, allocations: 7.922 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.143e-05/1.148, allocations: 4.062 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/1.148, allocations: 4.031 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/1.148, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.978e-05/1.148, allocations: 91.27 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.148, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002526/1.148, allocations: 19.94 kB / 1.171 GB, free: 15.82 MB / 0.9044 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.0002536/1.149, allocations: 119.1 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001308/1.149, allocations: 36.22 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.149, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.711e-05/1.149, allocations: 15.98 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/1.149, allocations: 4.562 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/1.149, allocations: 140.7 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/1.15, allocations: 0.6807 MB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.171e-05/1.15, allocations: 4 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/1.15, allocations: 7.438 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.15, allocations: 4.125 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.005027/1.155, allocations: 0.9006 MB / 1.173 GB, free: 13.86 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches