Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00156/0.001561, allocations: 102.2 kB / 16.27 MB, free: 6 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.001549/0.001549, allocations: 191 kB / 17.2 MB, free: 5.609 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.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 469.8 MB / 0.743 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 68.02 kB / 0.9092 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3642, allocations: 159.2 MB / 1.065 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001963/0.3662, allocations: 0.5114 MB / 1.065 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005524/0.3668, allocations: 195.4 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.3668, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.3669, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.3669, allocations: 4 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.3673, allocations: 63.77 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.3674, allocations: 12 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.3674, allocations: 3.984 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.3675, allocations: 7.938 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.21e-05/0.3675, allocations: 0 / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.3675, allocations: 8 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.3678, allocations: 131.8 kB / 1.066 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.3678, allocations: 7.984 kB / 1.066 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.3679, allocations: 11.92 kB / 1.066 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.368, allocations: 67.83 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.368, allocations: 0 / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.203e-06/0.368, allocations: 0 / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.3681, allocations: 0 / 1.066 GB, free: 13.78 MB / 0.8419 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.0004315/0.3685, allocations: 339.7 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3686, allocations: 12.62 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.3686, allocations: 8.875 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3688, allocations: 172.2 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3688, allocations: 384 / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3688, allocations: 384 / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.3689, allocations: 46.19 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3689, allocations: 192 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.369, allocations: 3.938 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.369, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.981e-05/0.369, allocations: 11.98 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.3692, allocations: 161.7 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.355e-05/0.3693, allocations: 22.61 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.3693, allocations: 20.91 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.3694, allocations: 4 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.3694, allocations: 34.5 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3694, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005942/0.37, allocations: 298.2 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.3701, allocations: 55.41 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.3702, allocations: 109.8 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3702, allocations: 25.7 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.3703, allocations: 84.14 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.3703, allocations: 11.81 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.3703, allocations: 17.92 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3705, allocations: 322.8 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.3705, allocations: 11.98 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.3706, allocations: 25.72 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.203e-05/0.3706, allocations: 41.64 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3706, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001002/0.3707, allocations: 69.69 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3708, allocations: 7.938 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3708, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.3708, allocations: 4 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.3709, allocations: 11.92 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3709, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.3709, allocations: 4 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3709, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8419 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.933e-05/0.371, allocations: 121.7 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.371, allocations: 8 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.3712, allocations: 73.48 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3712, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3712, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3712, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3713, allocations: 165.7 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3714, allocations: 7.875 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.3714, allocations: 4 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.944e-06/0.3714, allocations: 8.125 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.3714, allocations: 0 / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3714, allocations: 4 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3714, allocations: 0 / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.3716, allocations: 109.1 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.3717, allocations: 77.11 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3717, allocations: 3.938 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.3717, allocations: 4 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.3718, allocations: 4 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.3718, allocations: 4.062 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.3718, allocations: 87.27 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3719, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002147/0.3721, allocations: 24 kB / 1.068 GB, free: 10.8 MB / 0.8419 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.0001938/0.3723, allocations: 119.2 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3724, allocations: 35.97 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3724, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.298e-05/0.3724, allocations: 12 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.3726, allocations: 10.41 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.3729, allocations: 171.1 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3732, allocations: 0.6846 MB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.3733, allocations: 11.44 kB / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3733, allocations: 0 / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of Templates: time 0.002683/0.3759, allocations: 0.8506 MB / 1.07 GB, free: 8.855 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches