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.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.001665/0.001665, 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.002108/0.002108, allocations: 218.8 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.638/1.638, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.945/2.945, allocations: 476.7 MB / 0.7715 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_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.002254/0.002254, allocations: 64.61 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4329, allocations: 170 MB / 1.284 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002056/0.435, allocations: 0.5409 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005971/0.4356, allocations: 187.5 kB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.121e-05/0.4356, allocations: 0 / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.4356, allocations: 7.938 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.4357, allocations: 0 / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.4361, allocations: 75.77 kB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.4362, allocations: 11.92 kB / 1.285 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.4362, allocations: 4 kB / 1.285 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.4363, allocations: 4 kB / 1.285 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.4363, allocations: 7.984 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.4363, allocations: 0 / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.4366, allocations: 175.7 kB / 1.285 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.4367, allocations: 3.938 kB / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.4367, allocations: 15.92 kB / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.4369, allocations: 63.36 kB / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4369, allocations: 4 kB / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4369, allocations: 0 / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.4369, allocations: 0 / 1.285 GB, free: 10.7 MB / 0.9825 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.0003762/0.4373, allocations: 266.2 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4373, allocations: 12.03 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.084e-05/0.4374, allocations: 4.172 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.4374, allocations: 34.69 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.4374, allocations: 8.891 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.4375, allocations: 102.5 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4375, allocations: 8.375 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.4376, allocations: 384 / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.4377, allocations: 49.94 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4377, allocations: 0 / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4377, allocations: 0 / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4377, allocations: 0 / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.112e-05/0.4377, allocations: 11.98 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.4379, allocations: 128.8 kB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.258e-05/0.438, allocations: 30.59 kB / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.438, allocations: 12.92 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.4381, allocations: 4 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.4381, allocations: 42.44 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4381, allocations: 0 / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0006337/0.4388, allocations: 229.3 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.4388, allocations: 59.41 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.4389, allocations: 105.8 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.4389, allocations: 25.7 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.439, allocations: 88.12 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.439, allocations: 7.953 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.439, allocations: 13.72 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4392, allocations: 318.8 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.4392, allocations: 19.94 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.4393, allocations: 25.7 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.767e-05/0.4393, allocations: 45.64 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4393, allocations: 0 / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001053/0.4394, allocations: 69.58 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4395, allocations: 4 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.4395, allocations: 4.062 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4395, allocations: 4 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.4396, allocations: 7.938 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.4396, allocations: 0 / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.4396, allocations: 0 / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.4396, allocations: 4 kB / 1.287 GB, free: 8.75 MB / 0.9825 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 0.0001021/0.4397, allocations: 119.1 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.4397, allocations: 3.938 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.4399, allocations: 73.67 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4399, allocations: 4 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4399, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4399, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.44, allocations: 136.7 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.44, allocations: 0 / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.4401, allocations: 15.86 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4401, allocations: 0 / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4401, allocations: 4 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4401, allocations: 0 / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4401, allocations: 0 / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.4403, allocations: 113.1 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.4403, allocations: 3.938 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.4404, allocations: 3.984 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/0.4404, allocations: 0 / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.4404, allocations: 4 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.4404, allocations: 240 / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.572e-05/0.4405, allocations: 91.27 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4405, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002349/0.4407, allocations: 24 kB / 1.287 GB, free: 8.086 MB / 0.9825 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.0006051/0.4413, allocations: 0.6591 MB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.4415, allocations: 39.91 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4415, allocations: 0 / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/0.4415, allocations: 16.19 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.4417, allocations: 4 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.443, allocations: 1.254 MB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.4434, allocations: 0.6807 MB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.428e-05/0.4435, allocations: 4.703 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.4435, allocations: 7.438 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.4435, allocations: 0 / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.4683, allocations: 2.024 MB / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.81, allocations: 1.375 kB / 1.292 GB, free: 3.406 MB / 0.9825 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 19.269560164015274]