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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 249.9 MB, free: 13.47 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.056/3.056, allocations: 489.7 MB / 0.7761 GB, free: 33.61 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=502,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=502,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 0.001926/0.001926, allocations: 64.42 kB / 1.127 GB, free: 36.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3773, allocations: 172.1 MB / 1.295 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001653/0.3789, allocations: 0.5193 MB / 1.295 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005292/0.3795, allocations: 198.2 kB / 1.296 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.3795, allocations: 4 kB / 1.296 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.3795, allocations: 3.938 kB / 1.296 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.3795, allocations: 0 / 1.296 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.38, allocations: 71.78 kB / 1.296 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.381e-05/0.38, allocations: 8 kB / 1.296 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.3801, allocations: 3.984 kB / 1.296 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.3801, allocations: 4 kB / 1.296 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.3801, allocations: 7.938 kB / 1.296 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3801, allocations: 4 kB / 1.296 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.3804, allocations: 135.8 kB / 1.296 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.3804, allocations: 7.984 kB / 1.296 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.3804, allocations: 11.92 kB / 1.296 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3806, allocations: 67.78 kB / 1.296 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3806, allocations: 4 kB / 1.296 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3806, allocations: 0 / 1.296 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3806, allocations: 3.984 kB / 1.296 GB, free: 10.72 MB / 0.9981 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.0003907/0.381, allocations: 339.3 kB / 1.296 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3811, allocations: 8.031 kB / 1.296 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.3811, allocations: 12.89 kB / 1.296 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3812, allocations: 160.4 kB / 1.296 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3812, allocations: 384 / 1.296 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3813, allocations: 4.375 kB / 1.296 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.3814, allocations: 42.25 kB / 1.296 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3814, allocations: 4.172 kB / 1.296 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3814, allocations: 3.938 kB / 1.296 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3814, allocations: 0 / 1.296 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.3814, allocations: 11.94 kB / 1.296 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.3816, allocations: 169.6 kB / 1.297 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.708e-05/0.3817, allocations: 22.58 kB / 1.297 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.3817, allocations: 12.92 kB / 1.297 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.3817, allocations: 7.984 kB / 1.297 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3817, allocations: 34.5 kB / 1.297 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3818, allocations: 0 / 1.297 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005711/0.3823, allocations: 306.2 kB / 1.297 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.3824, allocations: 55.34 kB / 1.297 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.3825, allocations: 114.1 kB / 1.297 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3825, allocations: 25.7 kB / 1.297 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.3825, allocations: 88.08 kB / 1.297 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.3826, allocations: 11.91 kB / 1.297 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.3826, allocations: 17.72 kB / 1.297 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3827, allocations: 314.8 kB / 1.298 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/0.3828, allocations: 12 kB / 1.298 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.3828, allocations: 29.7 kB / 1.298 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.513e-05/0.3829, allocations: 37.7 kB / 1.298 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3829, allocations: 0 / 1.298 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.885e-05/0.383, allocations: 69.62 kB / 1.298 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.383, allocations: 11.94 kB / 1.298 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.383, allocations: 0 / 1.298 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.383, allocations: 0 / 1.298 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.383, allocations: 8.062 kB / 1.298 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.383, allocations: 4 kB / 1.298 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.3831, allocations: 3.984 kB / 1.298 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3831, allocations: 0 / 1.298 GB, free: 8.535 MB / 0.9981 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 7.809e-05/0.3832, allocations: 113.8 kB / 1.298 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.3832, allocations: 7.938 kB / 1.298 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.3833, allocations: 77.53 kB / 1.298 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3833, allocations: 0 / 1.298 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3833, allocations: 0 / 1.298 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3833, allocations: 4 kB / 1.298 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.3835, allocations: 169.7 kB / 1.298 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3835, allocations: 0 / 1.298 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.3835, allocations: 4 kB / 1.298 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3835, allocations: 3.938 kB / 1.298 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3835, allocations: 0 / 1.298 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3835, allocations: 0 / 1.298 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3835, allocations: 7.875 kB / 1.298 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.3837, allocations: 105.1 kB / 1.298 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.3837, allocations: 81.33 kB / 1.298 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3837, allocations: 3.969 kB / 1.298 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-05/0.3838, allocations: 4 kB / 1.298 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.3838, allocations: 3.984 kB / 1.298 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3838, allocations: 0 / 1.298 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.3838, allocations: 91.27 kB / 1.298 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3838, allocations: 0 / 1.298 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002189/0.3841, allocations: 19.94 kB / 1.298 GB, free: 7.746 MB / 0.9981 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.000195/0.3843, allocations: 123.8 kB / 1.299 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.3844, allocations: 31.92 kB / 1.299 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3844, allocations: 0 / 1.299 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.933e-05/0.3844, allocations: 19.98 kB / 1.299 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.3845, allocations: 4.688 kB / 1.299 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.3848, allocations: 163 kB / 1.299 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.3851, allocations: 0.6807 MB / 1.299 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.3852, allocations: 15.56 kB / 1.299 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3852, allocations: 0 / 1.299 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of Templates: time 0.002567/0.3877, allocations: 0.859 MB / 1.3 GB, free: 5.789 MB / 0.9981 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/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