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.001456/0.001456, allocations: 109.7 kB / 19.7 MB, free: 2.266 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.001715/0.001715, allocations: 220.1 kB / 23.01 MB, free: 4.594 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.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 8.012 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 2.947/2.947, allocations: 0.49 GB / 0.7958 GB, free: 33.34 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.001864/0.001864, allocations: 65.66 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2741, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001606/0.2757, allocations: 0.5343 MB / 1.328 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004602/0.2762, allocations: 195.8 kB / 1.328 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.554e-05/0.2762, allocations: 0 / 1.328 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.2762, allocations: 0 / 1.328 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.365e-05/0.2762, allocations: 3.938 kB / 1.328 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.2766, allocations: 67.83 kB / 1.328 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.669e-05/0.2766, allocations: 11.94 kB / 1.328 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.2767, allocations: 7.922 kB / 1.328 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.365e-05/0.2767, allocations: 11.98 kB / 1.328 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.295e-05/0.2767, allocations: 4 kB / 1.328 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.2767, allocations: 0 / 1.328 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.277, allocations: 163.8 kB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.2771, allocations: 15.91 kB / 1.328 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.2771, allocations: 7.938 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.2772, allocations: 67.78 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2772, allocations: 7.938 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2772, allocations: 0 / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2772, allocations: 3.984 kB / 1.328 GB, free: 440 kB / 1.014 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.0003216/0.2776, allocations: 262.2 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2776, allocations: 12.03 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.2776, allocations: 12.89 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2777, allocations: 106.6 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.2777, allocations: 384 / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.2778, allocations: 4.375 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.056e-05/0.2778, allocations: 38.25 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2778, allocations: 192 / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2779, allocations: 3.938 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.2779, allocations: 0 / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.63e-05/0.2779, allocations: 16 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.278, allocations: 132.7 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.2781, allocations: 30.58 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.2781, allocations: 8.922 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.2781, allocations: 4 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2782, allocations: 38.55 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.2782, allocations: 8 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004794/0.2787, allocations: 224.9 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.2787, allocations: 51.41 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.2788, allocations: 109.8 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2788, allocations: 25.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.2788, allocations: 92.12 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.2789, allocations: 3.953 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.2789, allocations: 21.94 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.279, allocations: 322.8 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.279, allocations: 12 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.2791, allocations: 21.7 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.569e-05/0.2791, allocations: 45.7 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2791, allocations: 4 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.735e-05/0.2792, allocations: 77.52 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2793, allocations: 7.938 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2793, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.2793, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/0.2793, allocations: 8 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2793, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.2793, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2793, allocations: 4 kB / 1.33 GB, free: 14.53 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 8.262e-05/0.2794, allocations: 118.4 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.2794, allocations: 3.938 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.2796, allocations: 73.61 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2796, allocations: 4 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2796, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2796, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2797, allocations: 136.7 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2797, allocations: 3.984 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.2797, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2797, allocations: 3.938 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.2797, allocations: 8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2797, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2797, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.2799, allocations: 105 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.2799, allocations: 4.031 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.2799, allocations: 7.922 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.435e-05/0.28, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.28, allocations: 8.062 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.28, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.28, allocations: 87.27 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.28, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002014/0.2802, allocations: 27.88 kB / 1.33 GB, free: 13.86 MB / 1.029 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.0001578/0.2804, allocations: 111.2 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.258e-05/0.2805, allocations: 31.92 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2805, allocations: 0 / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.2805, allocations: 20.34 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.2806, allocations: 7.938 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.2809, allocations: 163.3 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.2812, allocations: 0.6807 MB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.2812, allocations: 15.44 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.2812, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of Templates: time 0.002411/0.2836, allocations: 0.8473 MB / 1.332 GB, free: 11.92 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: 10.17935459499131]