Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 212.6 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.14/3.14, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 62.38 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3595, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001798/0.3613, allocations: 0.5243 MB / 1.328 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005499/0.3618, allocations: 187.8 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.3618, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.3619, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.3619, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.3623, allocations: 75.77 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.996e-05/0.3624, allocations: 12 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.3624, allocations: 3.984 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/0.3624, allocations: 4 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.002e-05/0.3625, allocations: 7.922 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3625, allocations: 0 / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.3628, allocations: 167.7 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.3628, allocations: 0 / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.3628, allocations: 15.92 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.363, allocations: 71.83 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.363, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.003e-06/0.363, allocations: 8 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.363, allocations: 3.938 kB / 1.328 GB, free: 15.97 MB / 1.029 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.0003673/0.3634, allocations: 262.2 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3634, allocations: 8.031 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.3635, allocations: 4.891 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3636, allocations: 114.5 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3636, allocations: 4.375 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.3636, allocations: 4.375 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3638, allocations: 63.91 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3638, allocations: 192 / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3638, allocations: 11.92 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3638, allocations: 0 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.725e-05/0.3638, allocations: 8 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.364, allocations: 109.3 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.043e-05/0.364, allocations: 26.61 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.3641, allocations: 8.922 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.3641, allocations: 7.984 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3641, allocations: 38.5 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.3641, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005685/0.3647, allocations: 237.2 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.3647, allocations: 55.41 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3649, allocations: 105.8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3649, allocations: 25.7 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.3649, allocations: 88.14 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.365, allocations: 3.953 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.365, allocations: 17.72 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3652, allocations: 318.8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.3652, allocations: 12 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/0.3652, allocations: 25.7 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.284e-05/0.3653, allocations: 45.67 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.3653, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001075/0.3654, allocations: 65.64 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3654, allocations: 8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3654, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3654, allocations: 4.078 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/0.3655, allocations: 15.92 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3655, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.3655, allocations: 8.047 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3655, allocations: 4 kB / 1.33 GB, free: 14.08 MB / 1.029 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.832e-05/0.3656, allocations: 110.4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.3656, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.3658, allocations: 73.67 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3658, allocations: 3.938 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3658, allocations: 3.938 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.3658, allocations: 7.953 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.3658, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.184e-05/0.3659, allocations: 3.984 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.3659, allocations: 11.94 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001738/0.3661, allocations: 137 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000234/0.3663, allocations: 250.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.152e-05/0.3663, allocations: 19.95 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.3664, allocations: 87.27 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of Backend: time 2.41e-07/0.3664, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004182/0.3668, allocations: 126 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of SimCode: time 0.000544/0.3673, allocations: 0.5689 MB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Templates: time 0.003676/0.371, allocations: 1.037 MB / 1.332 GB, free: 11.55 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.658774226998503]