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.002286/0.002286, allocations: 85.48 kB / 19.44 MB, free: 344 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.002645/0.002645, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.454/3.454, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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.994e-06/1.994e-06, allocations: 0 / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.545e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002036/0.002071, allocations: 0.5354 MB / 0.8779 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005889/0.00266, allocations: 181.3 kB / 0.8781 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.002694, allocations: 0.5 kB / 0.8781 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.002722, allocations: 4.547 kB / 0.8781 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.858e-05/0.00278, allocations: 10.39 kB / 0.8781 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.00328, allocations: 63.77 kB / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.252e-05/0.003343, allocations: 13.95 kB / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.003386, allocations: 4.594 kB / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.003425, allocations: 1.203 kB / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.003464, allocations: 13.33 kB / 0.8782 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.003479, allocations: 0 / 0.8782 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.003838, allocations: 160.9 kB / 0.8784 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.003886, allocations: 5.344 kB / 0.8784 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.003913, allocations: 11.94 kB / 0.8784 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.004133, allocations: 84.45 kB / 0.8785 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004135, allocations: 0 / 0.8785 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004137, allocations: 0.6562 kB / 0.8785 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.004142, allocations: 0 / 0.8785 GB, free: 5.645 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.0004946/0.004636, allocations: 369.8 kB / 0.8788 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.004676, allocations: 8.031 kB / 0.8788 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.004735, allocations: 8.891 kB / 0.8788 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.004868, allocations: 108.6 kB / 0.8789 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.004881, allocations: 2.031 kB / 0.879 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.004909, allocations: 4.359 kB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.005051, allocations: 67.89 kB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.005061, allocations: 8.125 kB / 0.879 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.005071, allocations: 3.281 kB / 0.879 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.005076, allocations: 384 / 0.879 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.26e-05/0.005098, allocations: 3.938 kB / 0.879 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.005307, allocations: 120.6 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/0.00538, allocations: 31.05 kB / 0.8792 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.005409, allocations: 16.5 kB / 0.8792 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.005456, allocations: 4 kB / 0.8792 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.0055, allocations: 38.05 kB / 0.8792 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.0055, allocations: 0 / 0.8792 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0008796/0.00638, allocations: 187.4 kB / 0.8794 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.006431, allocations: 59.39 kB / 0.8795 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.006578, allocations: 167.2 kB / 0.8796 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.006604, allocations: 29.69 kB / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.006689, allocations: 134.9 kB / 0.8798 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.006721, allocations: 11.84 kB / 0.8798 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.006763, allocations: 27.59 kB / 0.8798 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002739/0.007037, allocations: 0.4884 MB / 0.8803 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.007061, allocations: 8 kB / 0.8803 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.98e-05/0.007101, allocations: 19.38 kB / 0.8803 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.213e-05/0.007163, allocations: 35.31 kB / 0.8804 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007164, allocations: 0 / 0.8804 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.929e-05/0.007263, allocations: 49.69 kB / 0.8804 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.007281, allocations: 6.5 kB / 0.8804 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.007286, allocations: 8.062 kB / 0.8804 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.0073, allocations: 0 / 0.8804 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.007378, allocations: 15.92 kB / 0.8804 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.007389, allocations: 7.938 kB / 0.8804 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.007404, allocations: 0 / 0.8804 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.007412, allocations: 0 / 0.8804 GB, free: 3.383 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.0001237/0.007536, allocations: 156.6 kB / 0.8806 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.007549, allocations: 0 / 0.8806 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.0077, allocations: 65.64 kB / 0.8807 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007702, allocations: 0 / 0.8807 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.007705, allocations: 7.938 kB / 0.8807 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.007713, allocations: 7.922 kB / 0.8807 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.007843, allocations: 116.6 kB / 0.8808 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.007844, allocations: 0 / 0.8808 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.007901, allocations: 11.92 kB / 0.8808 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.007903, allocations: 0 / 0.8808 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.007912, allocations: 4 kB / 0.8808 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.007914, allocations: 0 / 0.8808 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007915, allocations: 0 / 0.8808 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.00809, allocations: 96.59 kB / 0.8809 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.008099, allocations: 0 / 0.8809 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.008111, allocations: 4.031 kB / 0.8809 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-05/0.008155, allocations: 0 / 0.8809 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.008183, allocations: 7.984 kB / 0.8809 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.008188, allocations: 0 / 0.8809 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.183e-05/0.00828, allocations: 135.4 kB / 0.881 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00828, allocations: 4 kB / 0.881 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002269/0.008507, allocations: 19.98 kB / 0.8811 GB, free: 2.684 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.0002442/0.008751, allocations: 123.1 kB / 0.8812 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.008861, allocations: 27.69 kB / 0.8812 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.008863, allocations: 4.125 kB / 0.8812 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-05/0.008893, allocations: 15.67 kB / 0.8812 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.009048, allocations: 10.44 kB / 0.8812 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.009384, allocations: 126.2 kB / 0.8813 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.703e-05/0.009461, allocations: 71.19 kB / 0.8814 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.796e-05/0.009489, allocations: 4 kB / 0.8814 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.009512, allocations: 12.5 kB / 0.8814 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.009512, allocations: 0 / 0.8814 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of Templates: time 0.004429/0.01394, allocations: 0.9223 MB / 0.8823 GB, free: 1.316 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 240] 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.732960851979442]