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.001976/0.001976, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002252/0.002252, allocations: 192.2 kB / 22.23 MB, free: 5.16 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.58/1.58, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002922/0.002922, allocations: 59.89 kB / 1.061 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.11, allocations: 160.8 MB / 1.218 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002167/1.112, allocations: 0.5191 MB / 1.219 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006023/1.113, allocations: 197.5 kB / 1.219 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/1.113, allocations: 0 / 1.219 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/1.113, allocations: 9.125 kB / 1.219 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/1.113, allocations: 0 / 1.219 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/1.113, allocations: 81.09 kB / 1.219 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.939e-05/1.113, allocations: 5.688 kB / 1.219 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/1.113, allocations: 5.578 kB / 1.219 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.46e-05/1.113, allocations: 6.156 kB / 1.219 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.004e-05/1.113, allocations: 6.125 kB / 1.219 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/1.113, allocations: 1.062 kB / 1.219 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/1.114, allocations: 173.2 kB / 1.219 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/1.114, allocations: 6.953 kB / 1.219 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/1.114, allocations: 18.09 kB / 1.219 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/1.114, allocations: 67.69 kB / 1.22 GB, free: 2.902 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.114, allocations: 1.281 kB / 1.22 GB, free: 2.902 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.182e-06/1.114, allocations: 0 / 1.22 GB, free: 2.902 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.114, allocations: 0 / 1.22 GB, free: 2.902 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.0004656/1.115, allocations: 343.3 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.115, allocations: 8.906 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/1.115, allocations: 2.188 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/1.115, allocations: 170.6 kB / 1.22 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/1.115, allocations: 9.594 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/1.115, allocations: 1.469 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/1.115, allocations: 41.48 kB / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.115, allocations: 192 / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/1.115, allocations: 9.531 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.115, allocations: 3.938 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/1.115, allocations: 15.83 kB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/1.115, allocations: 158.1 kB / 1.22 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.8e-05/1.115, allocations: 30.27 kB / 1.22 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/1.115, allocations: 8.766 kB / 1.22 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/1.115, allocations: 8.828 kB / 1.22 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/1.116, allocations: 30.56 kB / 1.22 GB, free: 1.984 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.116, allocations: 1.344 kB / 1.22 GB, free: 1.984 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0006935/1.116, allocations: 304 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/1.116, allocations: 56.38 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/1.116, allocations: 108 kB / 1.221 GB, free: 1.527 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/1.116, allocations: 26.55 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/1.116, allocations: 90.31 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/1.116, allocations: 9.031 kB / 1.221 GB, free: 1.398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/1.117, allocations: 17.09 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.117, allocations: 316.8 kB / 1.221 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/1.117, allocations: 17.19 kB / 1.221 GB, free: 1.055 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/1.117, allocations: 24.61 kB / 1.221 GB, free: 1.035 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.521e-05/1.117, allocations: 38.27 kB / 1.221 GB, free: 1.012 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/1.117, allocations: 1.406 kB / 1.221 GB, free: 1.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001081/1.117, allocations: 65.22 kB / 1.221 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.117, allocations: 8.812 kB / 1.221 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.117, allocations: 5.25 kB / 1.221 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/1.117, allocations: 1.219 kB / 1.221 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/1.117, allocations: 10.08 kB / 1.221 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.117, allocations: 8 kB / 1.221 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/1.117, allocations: 5.125 kB / 1.221 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/1.117, allocations: 6.438 kB / 1.221 GB, free: 0.9414 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.665e-05/1.117, allocations: 112.6 kB / 1.221 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/1.117, allocations: 10.2 kB / 1.221 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/1.117, allocations: 73.73 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/1.117, allocations: 1.219 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/1.117, allocations: 0 / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/1.117, allocations: 1.375 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/1.118, allocations: 165.3 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.118, allocations: 3.938 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/1.118, allocations: 4.812 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.118, allocations: 4.938 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/1.118, allocations: 1.125 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.118, allocations: 3.938 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.118, allocations: 1.062 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/1.118, allocations: 107.5 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/1.118, allocations: 85.83 kB / 1.222 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/1.118, allocations: 8.938 kB / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/1.118, allocations: 1.094 kB / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/1.118, allocations: 1.062 kB / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/1.118, allocations: 1.312 kB / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.277e-05/1.118, allocations: 90.45 kB / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/1.118, allocations: 4 kB / 1.222 GB, free: 272 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002361/1.118, allocations: 20.66 kB / 1.222 GB, free: 268 kB / 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.0002091/1.118, allocations: 118.5 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001299/1.119, allocations: 34.84 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.119, allocations: 0 / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/1.119, allocations: 10.81 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/1.119, allocations: 10.16 kB / 1.222 GB, free: 148 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/1.119, allocations: 139.2 kB / 1.222 GB, free: 12 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/1.12, allocations: 0.6792 MB / 1.223 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.629e-05/1.12, allocations: 3.156 kB / 1.223 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/1.12, allocations: 13.52 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/1.12, allocations: 5.469 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of Templates: time 0.004537/1.124, allocations: 0.9068 MB / 1.224 GB, free: 14.84 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.474554119631648]