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.001008/0.001008, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001498/0.001498, allocations: 177.3 kB / 23.49 MB, free: 1.055 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 0.9809/0.9809, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 2.01/2.01, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] 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.734e-06/1.734e-06, allocations: 0 / 0.8781 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.558e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001245/0.00126, allocations: 0.5475 MB / 0.8787 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004205/0.001681, allocations: 193 kB / 0.8789 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.001705, allocations: 1.094 kB / 0.8789 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.001731, allocations: 0.9375 kB / 0.8789 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.001768, allocations: 4 kB / 0.8789 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.002176, allocations: 62.03 kB / 0.8789 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.578e-05/0.002232, allocations: 17.06 kB / 0.879 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.002268, allocations: 3.984 kB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.002303, allocations: 11.98 kB / 0.879 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.624e-05/0.00233, allocations: 5.625 kB / 0.879 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.002343, allocations: 0 / 0.879 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.002697, allocations: 151.7 kB / 0.8791 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.002737, allocations: 11.98 kB / 0.8791 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.002755, allocations: 3.938 kB / 0.8791 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.00292, allocations: 90.73 kB / 0.8792 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.002922, allocations: 0 / 0.8792 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002923, allocations: 0 / 0.8792 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.002927, allocations: 0 / 0.8792 GB, free: 5.59 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.0003019/0.003228, allocations: 368.5 kB / 0.8796 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.003264, allocations: 8.031 kB / 0.8796 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.003304, allocations: 8.891 kB / 0.8796 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/0.003392, allocations: 113.3 kB / 0.8797 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.003402, allocations: 384 / 0.8797 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.003425, allocations: 5.984 kB / 0.8797 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.21e-05/0.003517, allocations: 59.95 kB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.003523, allocations: 192 / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.003532, allocations: 384 / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.00354, allocations: 8.312 kB / 0.8798 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.003555, allocations: 5.281 kB / 0.8798 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.00369, allocations: 120.7 kB / 0.8799 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.003743, allocations: 39 kB / 0.8799 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.003761, allocations: 8.438 kB / 0.8799 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.0038, allocations: 4.062 kB / 0.8799 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.00383, allocations: 41.38 kB / 0.88 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.003831, allocations: 0 / 0.88 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004506/0.004281, allocations: 193.7 kB / 0.8802 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.004311, allocations: 51.41 kB / 0.8802 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.004391, allocations: 169.9 kB / 0.8804 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.004403, allocations: 25.7 kB / 0.8804 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.004445, allocations: 139.1 kB / 0.8805 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.004468, allocations: 11.89 kB / 0.8805 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.004501, allocations: 27.36 kB / 0.8806 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.004622, allocations: 492.1 kB / 0.881 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.004635, allocations: 4 kB / 0.881 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.004666, allocations: 35.3 kB / 0.8811 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.004706, allocations: 27.38 kB / 0.8811 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.004707, allocations: 0 / 0.8811 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.829e-05/0.004785, allocations: 53.67 kB / 0.8811 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.0048, allocations: 11.98 kB / 0.8812 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.004804, allocations: 0 / 0.8812 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.004817, allocations: 0 / 0.8812 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.00487, allocations: 8 kB / 0.8812 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.004877, allocations: 3.938 kB / 0.8812 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.00489, allocations: 0 / 0.8812 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.004897, allocations: 4 kB / 0.8812 GB, free: 3.332 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 6.311e-05/0.00496, allocations: 152.6 kB / 0.8813 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.004972, allocations: 7.953 kB / 0.8813 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.005072, allocations: 65.64 kB / 0.8814 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.005074, allocations: 0 / 0.8814 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.005078, allocations: 0 / 0.8814 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.005082, allocations: 3.938 kB / 0.8814 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.626e-05/0.005158, allocations: 124.6 kB / 0.8815 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005159, allocations: 0 / 0.8815 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.005198, allocations: 4 kB / 0.8815 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.0052, allocations: 0 / 0.8815 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.005207, allocations: 4 kB / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005208, allocations: 0 / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005209, allocations: 0 / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.005318, allocations: 92.31 kB / 0.8816 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.005328, allocations: 11.94 kB / 0.8816 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.005339, allocations: 4 kB / 0.8816 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.005375, allocations: 0 / 0.8816 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.005389, allocations: 0 / 0.8816 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.005394, allocations: 4 kB / 0.8816 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.005438, allocations: 135.1 kB / 0.8818 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.005438, allocations: 0 / 0.8818 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002078/0.005646, allocations: 19.94 kB / 0.8818 GB, free: 2.641 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.0001555/0.005802, allocations: 119.3 kB / 0.8819 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.205e-05/0.005884, allocations: 27.61 kB / 0.8819 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.005885, allocations: 0 / 0.8819 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.0059, allocations: 11.69 kB / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.006043, allocations: 10.25 kB / 0.8819 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.006277, allocations: 126.3 kB / 0.8821 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.006308, allocations: 55.36 kB / 0.8821 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.006332, allocations: 3.984 kB / 0.8821 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.006352, allocations: 12.5 kB / 0.8821 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of SimCode: time 7.72e-07/0.006353, allocations: 4.125 kB / 0.8821 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of Templates: time 0.003245/0.009599, allocations: 0.9365 MB / 0.883 GB, free: 1.285 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.215310451108962]