Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.929/1.929, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 179.2 kB / 393.1 MB, free: 4.055 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.7 MB / 0.6743 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008064/0.0008062, allocations: 94.92 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004893, allocations: 12 kB / 0.9224 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6481/0.6486, allocations: 121.3 MB / 1.041 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.000711/0.6494, allocations: 257.5 kB / 1.041 GB, free: 58.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005555/0.6499, allocations: 349.8 kB / 1.041 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.65, allocations: 0 / 1.041 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.65, allocations: 0 / 1.041 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.65, allocations: 3.594 kB / 1.041 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.6504, allocations: 48.55 kB / 1.041 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.138e-05/0.6504, allocations: 14.83 kB / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.6505, allocations: 1.156 kB / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.6505, allocations: 4.828 kB / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.6505, allocations: 4.656 kB / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.6505, allocations: 0 / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.6507, allocations: 122.1 kB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.6508, allocations: 8.594 kB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.6508, allocations: 46.47 kB / 1.042 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.651, allocations: 66.22 kB / 1.042 GB, free: 57.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.651, allocations: 2.062 kB / 1.042 GB, free: 57.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.255e-06/0.651, allocations: 0 / 1.042 GB, free: 57.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.651, allocations: 1.562 kB / 1.042 GB, free: 57.84 MB / 0.698 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.0002811/0.6513, allocations: 333.3 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6514, allocations: 9.625 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.6514, allocations: 3.844 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.562e-05/0.6515, allocations: 170 kB / 1.042 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.6515, allocations: 384 / 1.042 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.6515, allocations: 5.688 kB / 1.042 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.453e-05/0.6516, allocations: 39.05 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.6517, allocations: 1.312 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.6517, allocations: 3.938 kB / 1.042 GB, free: 57.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.6517, allocations: 1.375 kB / 1.042 GB, free: 57.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.758e-05/0.6517, allocations: 13.59 kB / 1.042 GB, free: 57.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.6519, allocations: 159.1 kB / 1.042 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.554e-05/0.6519, allocations: 25.19 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.6519, allocations: 15.05 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.652, allocations: 6.984 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.652, allocations: 35.22 kB / 1.043 GB, free: 56.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.652, allocations: 3.375 kB / 1.043 GB, free: 56.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005116/0.6525, allocations: 299.5 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.6526, allocations: 54.52 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.6526, allocations: 109.5 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.6527, allocations: 25.7 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.6527, allocations: 85.52 kB / 1.043 GB, free: 56.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.6527, allocations: 10.62 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.6527, allocations: 4.5 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.6528, allocations: 318.8 kB / 1.043 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.6528, allocations: 11.17 kB / 1.043 GB, free: 56.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.983e-05/0.6529, allocations: 29.92 kB / 1.043 GB, free: 56.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.679e-05/0.6529, allocations: 41.34 kB / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.6529, allocations: 0 / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.228e-05/0.653, allocations: 69.14 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.653, allocations: 11.19 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.6531, allocations: 0 / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.6531, allocations: 0 / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.6531, allocations: 12.14 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.6531, allocations: 0 / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.6532, allocations: 0 / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.6532, allocations: 3.562 kB / 1.044 GB, free: 56.01 MB / 0.698 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.785e-05/0.6532, allocations: 120.8 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.6533, allocations: 8.344 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.6534, allocations: 74.95 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6534, allocations: 7.5 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6534, allocations: 0 / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6534, allocations: 0 / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.887e-05/0.6535, allocations: 167.4 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.6535, allocations: 0 / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.6536, allocations: 4.625 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6536, allocations: 6.562 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.6536, allocations: 5.062 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6536, allocations: 0 / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6536, allocations: 0.625 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.6538, allocations: 103.3 kB / 1.044 GB, free: 55.56 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.6538, allocations: 84.91 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.6538, allocations: 4.5 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.353e-05/0.6539, allocations: 3.781 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.6539, allocations: 3.938 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.6539, allocations: 1.25 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.6539, allocations: 88.95 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6539, allocations: 352 / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002178/0.6542, allocations: 21.94 kB / 1.044 GB, free: 55.38 MB / 0.698 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.0001556/0.6543, allocations: 128 kB / 1.044 GB, free: 55.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.653e-05/0.6544, allocations: 34.16 kB / 1.044 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6544, allocations: 0 / 1.044 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.6545, allocations: 16.28 kB / 1.044 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.6546, allocations: 7.25 kB / 1.044 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.6549, allocations: 138.5 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.655, allocations: 0.6829 MB / 1.045 GB, free: 54.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.655, allocations: 6.219 kB / 1.045 GB, free: 54.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.6551, allocations: 10.41 kB / 1.045 GB, free: 54.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6551, allocations: 0 / 1.045 GB, free: 54.43 MB / 0.698 GB Notification: Performance of Templates: time 0.00299/0.6581, allocations: 0.869 MB / 1.046 GB, free: 54.37 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)