Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 192 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 443.5 MB / 0.732 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003325/0.003325, allocations: 72.03 kB / 1.061 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7876, allocations: 160.7 MB / 1.218 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001727/0.7894, allocations: 0.5343 MB / 1.219 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000526/0.7899, allocations: 194.4 kB / 1.219 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.7899, allocations: 0 / 1.219 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.7899, allocations: 3.938 kB / 1.219 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.79, allocations: 1.312 kB / 1.219 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.7904, allocations: 66.53 kB / 1.219 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.779e-05/0.7904, allocations: 17.73 kB / 1.219 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.7905, allocations: 6.297 kB / 1.219 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.7905, allocations: 2.219 kB / 1.219 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.059e-05/0.7905, allocations: 5.062 kB / 1.219 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.7906, allocations: 1.188 kB / 1.219 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.7908, allocations: 133.2 kB / 1.219 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.7908, allocations: 3.938 kB / 1.219 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.7909, allocations: 13.25 kB / 1.219 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.791, allocations: 71.81 kB / 1.219 GB, free: 3.328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.791, allocations: 5.094 kB / 1.219 GB, free: 3.324 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.791, allocations: 0 / 1.219 GB, free: 3.324 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.7911, allocations: 0 / 1.219 GB, free: 3.324 MB / 0.92 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.0004127/0.7915, allocations: 342.5 kB / 1.22 GB, free: 2.949 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.7915, allocations: 13.64 kB / 1.22 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.7915, allocations: 3.375 kB / 1.22 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.7917, allocations: 173.7 kB / 1.22 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.7917, allocations: 1.719 kB / 1.22 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.7917, allocations: 5.438 kB / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.7918, allocations: 41.78 kB / 1.22 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.7918, allocations: 192 / 1.22 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.7918, allocations: 3.938 kB / 1.22 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.7919, allocations: 1.25 kB / 1.22 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.7919, allocations: 11.41 kB / 1.22 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.7921, allocations: 158.8 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.329e-05/0.7921, allocations: 34.03 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.7921, allocations: 9.922 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.7922, allocations: 6.562 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.7922, allocations: 35.89 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7922, allocations: 3.938 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005556/0.7928, allocations: 300.5 kB / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.7928, allocations: 52.78 kB / 1.22 GB, free: 2.055 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.7929, allocations: 124.1 kB / 1.22 GB, free: 1.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.7929, allocations: 26.77 kB / 1.22 GB, free: 1.902 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.793, allocations: 85.27 kB / 1.221 GB, free: 1.816 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.793, allocations: 9.062 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.793, allocations: 18.03 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.7932, allocations: 316 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.7932, allocations: 10.5 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.7933, allocations: 28.02 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.7933, allocations: 42.33 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7933, allocations: 1.188 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001044/0.7934, allocations: 64.91 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.7934, allocations: 9.719 kB / 1.221 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.7934, allocations: 0 / 1.221 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.7935, allocations: 0.9062 kB / 1.221 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.7935, allocations: 10.16 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7935, allocations: 5.125 kB / 1.221 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.7935, allocations: 5.094 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.7935, allocations: 1.75 kB / 1.221 GB, free: 1.363 MB / 0.92 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 9.89e-05/0.7936, allocations: 117.1 kB / 1.221 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.7937, allocations: 10.05 kB / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.7938, allocations: 65.95 kB / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.7938, allocations: 1.406 kB / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.7938, allocations: 0 / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.7938, allocations: 4 kB / 1.221 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.7939, allocations: 170.5 kB / 1.221 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7939, allocations: 0 / 1.221 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.794, allocations: 4.844 kB / 1.221 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.794, allocations: 5 kB / 1.221 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.794, allocations: 1.219 kB / 1.221 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.794, allocations: 0 / 1.221 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.794, allocations: 0 / 1.221 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.7942, allocations: 111.3 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.7942, allocations: 87.17 kB / 1.222 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.7942, allocations: 3.938 kB / 1.222 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.7943, allocations: 0.9375 kB / 1.222 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.7943, allocations: 6.094 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.7943, allocations: 0.9375 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.341e-05/0.7944, allocations: 90.61 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.7944, allocations: 0 / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002068/0.7946, allocations: 20.16 kB / 1.222 GB, free: 0.6875 MB / 0.92 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.0001848/0.7948, allocations: 119.7 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.7949, allocations: 35.11 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7949, allocations: 0 / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.7949, allocations: 15.95 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.795, allocations: 7.406 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.7953, allocations: 146.8 kB / 1.222 GB, free: 444 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.7956, allocations: 0.6803 MB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.7957, allocations: 7.562 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.7957, allocations: 10.44 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.7957, allocations: 0 / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of Templates: time 0.003544/0.7992, allocations: 0.9086 MB / 1.224 GB, free: 15.26 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.190485760103911]