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.008486/0.008493, allocations: 99.44 kB / 15.73 MB, free: 6.035 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.002228/0.002228, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.677/2.677, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3702, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001685/0.3719, allocations: 0.5251 MB / 1.167 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000511/0.3724, allocations: 187.8 kB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.3725, allocations: 3.938 kB / 1.167 GB, free: 6.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.3725, allocations: 3.938 kB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.834e-05/0.3725, allocations: 7.938 kB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.3729, allocations: 63.84 kB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.444e-05/0.373, allocations: 11.98 kB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.373, allocations: 0 / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.373, allocations: 8 kB / 1.167 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.631e-05/0.3731, allocations: 3.938 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3731, allocations: 4 kB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.3733, allocations: 135.8 kB / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.3734, allocations: 0 / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.3734, allocations: 11.94 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.3736, allocations: 67.77 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3736, allocations: 0 / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3736, allocations: 4 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.3736, allocations: 0 / 1.168 GB, free: 5.797 MB / 0.92 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.0003652/0.374, allocations: 343.3 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.374, allocations: 12.03 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.374, allocations: 0.9375 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3742, allocations: 184.2 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3742, allocations: 384 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.3742, allocations: 384 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3743, allocations: 38.27 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3743, allocations: 192 / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3744, allocations: 3.938 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3744, allocations: 0 / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.3744, allocations: 11.98 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.3746, allocations: 165.7 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.3746, allocations: 22.52 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.3747, allocations: 16.91 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.3747, allocations: 8 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.3748, allocations: 30.56 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3748, allocations: 0 / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005808/0.3754, allocations: 302.3 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.3754, allocations: 51.41 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.3755, allocations: 106.1 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3755, allocations: 33.7 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.3756, allocations: 88.08 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.3756, allocations: 15.83 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.3756, allocations: 17.72 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3757, allocations: 314.8 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.3758, allocations: 19.92 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.564e-05/0.3758, allocations: 25.66 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.3759, allocations: 45.7 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3759, allocations: 0 / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.396e-05/0.376, allocations: 69.62 kB / 1.169 GB, free: 3.629 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.376, allocations: 13.95 kB / 1.169 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3761, allocations: 4 kB / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3761, allocations: 0 / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.3761, allocations: 4 kB / 1.169 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3762, allocations: 8.062 kB / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.3762, allocations: 0 / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.3762, allocations: 0 / 1.169 GB, free: 3.602 MB / 0.92 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.342e-05/0.3763, allocations: 109.8 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.3763, allocations: 7.891 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.3764, allocations: 77.66 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3764, allocations: 4.031 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.3765, allocations: 3.984 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3765, allocations: 0 / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3766, allocations: 165.7 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3766, allocations: 0 / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.3766, allocations: 4 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3767, allocations: 7.938 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3767, allocations: 3.984 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3767, allocations: 320 / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3767, allocations: 0 / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.3768, allocations: 105 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.3769, allocations: 85.12 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3769, allocations: 3.938 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.377, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.377, allocations: 8.016 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.377, allocations: 0 / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.377, allocations: 91.27 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.377, allocations: 3.938 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002162/0.3773, allocations: 19.98 kB / 1.17 GB, free: 2.805 MB / 0.92 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.0001862/0.3775, allocations: 127.2 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.3776, allocations: 27.98 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3776, allocations: 0 / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/0.3776, allocations: 19.94 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.3778, allocations: 7.984 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.3781, allocations: 125.4 kB / 1.17 GB, free: 2.469 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.3783, allocations: 0.6884 MB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.3784, allocations: 8.125 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.3784, allocations: 11.44 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/0.3784, allocations: 0 / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of Templates: time 0.003413/0.3818, allocations: 0.8843 MB / 1.172 GB, free: 0.8516 MB / 0.92 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches