Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 157.7 kB / 22.76 MB, free: 1.676 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.222/3.222, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.416e-05, allocations: 4.984 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001985/0.002019, allocations: 0.5455 MB / 0.8781 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005995/0.002619, allocations: 178.2 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.002641, allocations: 0 / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.002671, allocations: 1.125 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.002724, allocations: 0.7656 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.003275, allocations: 72.73 kB / 0.8783 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.003338, allocations: 10.06 kB / 0.8784 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.003386, allocations: 4 kB / 0.8784 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.003429, allocations: 10.64 kB / 0.8784 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.003469, allocations: 7.984 kB / 0.8784 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.003486, allocations: 0 / 0.8784 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003573/0.003843, allocations: 157.8 kB / 0.8785 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.00389, allocations: 4.156 kB / 0.8785 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.003924, allocations: 11.98 kB / 0.8785 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.004142, allocations: 87.73 kB / 0.8786 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004144, allocations: 3.156 kB / 0.8786 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004145, allocations: 0 / 0.8786 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.00415, allocations: 0 / 0.8786 GB, free: 5.43 MB / 0.8386 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.0004196/0.00457, allocations: 266.2 kB / 0.8789 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.004614, allocations: 8.031 kB / 0.8789 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.004666, allocations: 8.891 kB / 0.8789 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.004813, allocations: 105.8 kB / 0.879 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.004827, allocations: 384 / 0.879 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.004857, allocations: 4.375 kB / 0.879 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.005005, allocations: 64.55 kB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.005014, allocations: 1.844 kB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.005027, allocations: 4.375 kB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.005032, allocations: 384 / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.765e-05/0.00507, allocations: 15.88 kB / 0.8791 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.005262, allocations: 113.8 kB / 0.8792 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.07e-05/0.005333, allocations: 27.91 kB / 0.8792 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.005358, allocations: 8.922 kB / 0.8792 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.005412, allocations: 12 kB / 0.8792 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.00545, allocations: 32.12 kB / 0.8793 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.005451, allocations: 4 kB / 0.8793 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0007898/0.00624, allocations: 213.4 kB / 0.8795 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.006295, allocations: 59.41 kB / 0.8795 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.00641, allocations: 113.8 kB / 0.8796 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.006432, allocations: 25.7 kB / 0.8797 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.006495, allocations: 88.08 kB / 0.8798 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.006527, allocations: 15.88 kB / 0.8798 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.00657, allocations: 13.72 kB / 0.8798 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.006771, allocations: 318.8 kB / 0.8801 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.006801, allocations: 11.98 kB / 0.8801 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.917e-05/0.00685, allocations: 29.7 kB / 0.8801 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.992e-05/0.00692, allocations: 37.72 kB / 0.8802 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.00692, allocations: 0 / 0.8802 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001256/0.007046, allocations: 77.56 kB / 0.8802 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.007062, allocations: 4 kB / 0.8802 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.007068, allocations: 0 / 0.8802 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.007088, allocations: 0 / 0.8802 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.007163, allocations: 11.94 kB / 0.8802 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.007172, allocations: 3.938 kB / 0.8803 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.007188, allocations: 0 / 0.8803 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.0072, allocations: 4 kB / 0.8803 GB, free: 3.547 MB / 0.8386 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.0001135/0.007314, allocations: 125.8 kB / 0.8804 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.007328, allocations: 0 / 0.8804 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.007489, allocations: 69.67 kB / 0.8804 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007491, allocations: 192 / 0.8804 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.007499, allocations: 4 kB / 0.8804 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.007509, allocations: 7.922 kB / 0.8805 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.00765, allocations: 121.3 kB / 0.8806 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007651, allocations: 0 / 0.8806 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.007705, allocations: 4 kB / 0.8806 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.007707, allocations: 0 / 0.8806 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.007718, allocations: 8 kB / 0.8806 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.00772, allocations: 0 / 0.8806 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.007721, allocations: 0 / 0.8806 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.007917, allocations: 116.9 kB / 0.8807 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-06/0.007924, allocations: 0 / 0.8807 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.007942, allocations: 8.031 kB / 0.8807 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.007992, allocations: 0 / 0.8807 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.008009, allocations: 0 / 0.8807 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.008017, allocations: 4 kB / 0.8807 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.382e-05/0.008091, allocations: 91.5 kB / 0.8808 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008091, allocations: 64 / 0.8808 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002325/0.008324, allocations: 24 kB / 0.8808 GB, free: 2.91 MB / 0.8386 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.000247/0.008571, allocations: 119.2 kB / 0.8809 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.008693, allocations: 35.91 kB / 0.881 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.008696, allocations: 0 / 0.881 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.118e-05/0.008717, allocations: 12 kB / 0.881 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.008882, allocations: 6.344 kB / 0.881 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.00924, allocations: 132.6 kB / 0.8811 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.542e-05/0.009326, allocations: 67.33 kB / 0.8812 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.009356, allocations: 15.92 kB / 0.8812 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.009396, allocations: 8.5 kB / 0.8812 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.009397, allocations: 0 / 0.8812 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of Templates: time 0.004152/0.01355, allocations: 0.922 MB / 0.8821 GB, free: 1.555 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.338346361997537]