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.001365/0.001365, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001726/0.001726, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.128/3.128, allocations: 0.49 GB / 0.7959 GB, free: 33.37 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: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [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.002067/0.002067, allocations: 74.95 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3597, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002001/0.3617, allocations: 0.532 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005484/0.3622, allocations: 199.8 kB / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.3623, allocations: 0 / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.3623, allocations: 0 / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4e-05/0.3623, allocations: 4 kB / 1.327 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.3628, allocations: 67.78 kB / 1.327 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.367e-05/0.3628, allocations: 15.98 kB / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.3629, allocations: 3.984 kB / 1.327 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.161e-05/0.3629, allocations: 7.938 kB / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.023e-05/0.3629, allocations: 3.984 kB / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.3629, allocations: 4 kB / 1.327 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.3633, allocations: 167.7 kB / 1.328 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.3633, allocations: 8 kB / 1.328 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.3633, allocations: 7.875 kB / 1.328 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.3635, allocations: 80.11 kB / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3635, allocations: 0 / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3635, allocations: 0 / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3635, allocations: 0 / 1.328 GB, free: 0.8867 MB / 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.0003811/0.3639, allocations: 266.2 kB / 1.328 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3639, allocations: 8.031 kB / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.729e-05/0.364, allocations: 192 / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.364, allocations: 34.75 kB / 1.328 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.364, allocations: 4.891 kB / 1.328 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.3641, allocations: 118.5 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3641, allocations: 8.312 kB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.3642, allocations: 384 / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.3643, allocations: 38.02 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3643, allocations: 3.984 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.3643, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3643, allocations: 4 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.3643, allocations: 8 kB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.3645, allocations: 136.8 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.312e-05/0.3645, allocations: 34.5 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.3646, allocations: 8.922 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.3646, allocations: 4 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3646, allocations: 34.5 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3646, allocations: 3.938 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006108/0.3652, allocations: 233.3 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.3653, allocations: 51.41 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3654, allocations: 109.8 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3654, allocations: 25.7 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.3655, allocations: 84.14 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.3655, allocations: 7.938 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3655, allocations: 17.72 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3657, allocations: 318.9 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.3657, allocations: 15.98 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/0.3658, allocations: 21.72 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.733e-05/0.3658, allocations: 41.64 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3658, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001174/0.366, allocations: 77.5 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.366, allocations: 12.06 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.366, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.366, allocations: 3.938 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.3661, allocations: 12 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3661, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.3661, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3661, allocations: 0 / 1.329 GB, free: 14.94 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.71e-05/0.3662, allocations: 110.4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.3662, allocations: 11.92 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.3664, allocations: 77.92 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3664, allocations: 0 / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3664, allocations: 0 / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3664, allocations: 0 / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3665, allocations: 136.8 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3665, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.3666, allocations: 7.938 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.3666, allocations: 4.172 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3666, allocations: 0 / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3666, allocations: 0 / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3666, allocations: 7.984 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.3668, allocations: 109 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.3668, allocations: 3.938 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3668, allocations: 4.031 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.3668, allocations: 4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.3669, allocations: 7.922 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3669, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.3669, allocations: 87.34 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3669, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002313/0.3672, allocations: 27.86 kB / 1.33 GB, free: 14.26 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.0006324/0.3678, allocations: 0.6593 MB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.3679, allocations: 35.92 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3679, allocations: 4.188 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.387e-05/0.3679, allocations: 11.98 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.3681, allocations: 4 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3694, allocations: 1.252 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3698, allocations: 0.6807 MB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.3698, allocations: 4 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.3699, allocations: 15.44 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of SimCode: time 1.122e-06/0.3699, allocations: 4 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.3959, allocations: 2.01 MB / 1.335 GB, free: 9.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.4, allocations: 8.094 kB / 1.335 GB, free: 9.586 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 420.0] 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: 18.057482703006826]