Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00136/0.00136, allocations: 114.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.001464/0.001464, allocations: 195.5 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.421/1.421, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002866/0.002866, allocations: 59.91 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.802, allocations: 168.7 MB / 1.274 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002166/0.8041, allocations: 0.5274 MB / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006672/0.8048, allocations: 199.3 kB / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.8048, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.8049, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.8049, allocations: 0 / 1.275 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.8054, allocations: 71.78 kB / 1.275 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.8055, allocations: 11.94 kB / 1.275 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/0.8056, allocations: 7.984 kB / 1.275 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.8056, allocations: 4 kB / 1.275 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.8056, allocations: 7.938 kB / 1.275 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.8056, allocations: 0 / 1.275 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.8059, allocations: 135.8 kB / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.806, allocations: 8 kB / 1.275 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.806, allocations: 15.91 kB / 1.275 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.8062, allocations: 66.52 kB / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8062, allocations: 0 / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.935e-06/0.8062, allocations: 0 / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.8062, allocations: 4 kB / 1.275 GB, free: 3.426 MB / 0.9669 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.0005772/0.8068, allocations: 347.3 kB / 1.275 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.8069, allocations: 8.031 kB / 1.275 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.8069, allocations: 4.938 kB / 1.275 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.8071, allocations: 168.3 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.8071, allocations: 4.375 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.8072, allocations: 384 / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.8073, allocations: 42.25 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8073, allocations: 8.125 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.8073, allocations: 3.938 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.8073, allocations: 0 / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.8074, allocations: 8 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.8076, allocations: 157.7 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.01e-05/0.8077, allocations: 30.58 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.8077, allocations: 8.922 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.255e-05/0.8078, allocations: 12 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.8078, allocations: 38.55 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8078, allocations: 0 / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0007462/0.8086, allocations: 298.2 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.8086, allocations: 55.39 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.8087, allocations: 109.8 kB / 1.276 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.8088, allocations: 33.92 kB / 1.276 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.8088, allocations: 84.14 kB / 1.276 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.8089, allocations: 11.91 kB / 1.276 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.8089, allocations: 13.72 kB / 1.276 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.8091, allocations: 318.8 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.8091, allocations: 12 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.8091, allocations: 25.7 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.479e-05/0.8092, allocations: 49.64 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8092, allocations: 4 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/0.8093, allocations: 65.62 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8093, allocations: 7.938 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8093, allocations: 0 / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8094, allocations: 0 / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.8094, allocations: 8 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.8094, allocations: 3.938 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.8095, allocations: 4.062 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.8095, allocations: 7.984 kB / 1.277 GB, free: 1.23 MB / 0.9669 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.0001069/0.8096, allocations: 115.4 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.8096, allocations: 7.891 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.8097, allocations: 65.58 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.8098, allocations: 4 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8098, allocations: 0 / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8098, allocations: 0 / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.8099, allocations: 169.7 kB / 1.277 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8099, allocations: 0 / 1.277 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.81, allocations: 4 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.81, allocations: 7.875 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.81, allocations: 0 / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.81, allocations: 4 kB / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.81, allocations: 0 / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.8102, allocations: 97.11 kB / 1.277 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.8102, allocations: 93.08 kB / 1.277 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.8103, allocations: 7.938 kB / 1.277 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.8103, allocations: 4 kB / 1.277 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.8103, allocations: 0 / 1.277 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.8103, allocations: 4 kB / 1.277 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.853e-05/0.8104, allocations: 91.56 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.8104, allocations: 0 / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002457/0.8107, allocations: 23.94 kB / 1.278 GB, free: 452 kB / 0.9669 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.0002268/0.8109, allocations: 115.8 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.811, allocations: 36.16 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.811, allocations: 4 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/0.811, allocations: 11.98 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.8112, allocations: 5.344 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.8116, allocations: 153.2 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.812, allocations: 0.6806 MB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.812, allocations: 8.125 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.8121, allocations: 15.44 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.8121, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of Templates: time 0.00429/0.8164, allocations: 0.9033 MB / 1.279 GB, free: 14.45 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.606561571825296]