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.001652/0.001652, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001798/0.001798, allocations: 186 kB / 20.78 MB, free: 1.547 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.62/1.62, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.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.854/2.854, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] 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.001996/0.001996, allocations: 63.91 kB / 1.107 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396/1.398, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001983/1.4, allocations: 0.5454 MB / 1.272 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005574/1.4, allocations: 194.6 kB / 1.273 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/1.4, allocations: 0 / 1.273 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/1.4, allocations: 4 kB / 1.273 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/1.4, allocations: 5.312 kB / 1.273 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/1.401, allocations: 61.33 kB / 1.273 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.028e-05/1.401, allocations: 12.69 kB / 1.273 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/1.401, allocations: 2.25 kB / 1.273 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/1.401, allocations: 6.906 kB / 1.273 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/1.401, allocations: 7.078 kB / 1.273 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/1.401, allocations: 1.625 kB / 1.273 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/1.401, allocations: 136.6 kB / 1.273 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/1.401, allocations: 7.562 kB / 1.273 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/1.401, allocations: 15.22 kB / 1.273 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/1.402, allocations: 66.97 kB / 1.273 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.402, allocations: 0.7812 kB / 1.273 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/1.402, allocations: 0 / 1.273 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.772e-06/1.402, allocations: 0.8438 kB / 1.273 GB, free: 7.348 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.000351/1.402, allocations: 338.7 kB / 1.273 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.402, allocations: 10.5 kB / 1.273 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/1.402, allocations: 2.656 kB / 1.273 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/1.402, allocations: 171.4 kB / 1.273 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/1.402, allocations: 5.156 kB / 1.273 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/1.402, allocations: 10.44 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/1.402, allocations: 40.67 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.402, allocations: 192 / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/1.402, allocations: 3.938 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/1.402, allocations: 0.8125 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.426e-05/1.402, allocations: 11.95 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/1.403, allocations: 156.4 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.103e-05/1.403, allocations: 34.41 kB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/1.403, allocations: 9.203 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/1.403, allocations: 8.25 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/1.403, allocations: 32.34 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/1.403, allocations: 0 / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0006126/1.403, allocations: 303.5 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/1.403, allocations: 54.56 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/1.403, allocations: 106.9 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/1.403, allocations: 26.61 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/1.403, allocations: 86.73 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/1.403, allocations: 9.969 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/1.404, allocations: 21.25 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.051e-05/1.404, allocations: 312.6 kB / 1.275 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/1.404, allocations: 14.42 kB / 1.275 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/1.404, allocations: 32.73 kB / 1.275 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.47e-05/1.404, allocations: 44.62 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/1.404, allocations: 0 / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.695e-05/1.404, allocations: 62.33 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.404, allocations: 9.984 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.404, allocations: 4.812 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.404, allocations: 1 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/1.404, allocations: 10.64 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.404, allocations: 7.766 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/1.404, allocations: 1.156 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/1.404, allocations: 5.062 kB / 1.275 GB, free: 5.457 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 5.348e-05/1.404, allocations: 109 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/1.404, allocations: 9.984 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/1.404, allocations: 76.73 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.404, allocations: 0.8125 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.404, allocations: 0 / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/1.404, allocations: 4.625 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.729e-05/1.404, allocations: 170.5 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.404, allocations: 0.6562 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/1.404, allocations: 6.719 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.404, allocations: 3.938 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/1.404, allocations: 1.094 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.404, allocations: 1.25 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.404, allocations: 0 / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/1.404, allocations: 109.6 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/1.405, allocations: 78.27 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/1.405, allocations: 6.188 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/1.405, allocations: 1.031 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/1.405, allocations: 2.594 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/1.405, allocations: 1.812 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.625e-05/1.405, allocations: 89.34 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.405, allocations: 8 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002225/1.405, allocations: 20.47 kB / 1.276 GB, free: 4.809 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.0001817/1.405, allocations: 114.2 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001231/1.405, allocations: 30.67 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.405, allocations: 0 / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/1.405, allocations: 12.73 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/1.405, allocations: 16.3 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/1.406, allocations: 149 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/1.406, allocations: 0.6819 MB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.854e-05/1.406, allocations: 4.094 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/1.406, allocations: 13.34 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.406, allocations: 0 / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of Templates: time 0.004127/1.41, allocations: 0.9088 MB / 1.277 GB, free: 3.773 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.789575546048582]