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.001499/0.001499, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001589/0.001589, allocations: 220.2 kB / 23.03 MB, free: 4.945 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.599/1.599, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.849/2.849, allocations: 476.8 MB / 0.7715 GB, free: 3.871 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.002145/0.002145, allocations: 64.61 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4286, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002708/0.4313, allocations: 0.5231 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006914/0.432, allocations: 179.6 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.432, allocations: 0 / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.432, allocations: 0 / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.4321, allocations: 7.938 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.4327, allocations: 67.84 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.3e-05/0.4327, allocations: 11.98 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.4328, allocations: 4 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.893e-05/0.4328, allocations: 3.938 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.4329, allocations: 11.97 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.4329, allocations: 3.938 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.4332, allocations: 163.8 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.4333, allocations: 4 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.4333, allocations: 3.938 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.4335, allocations: 76.75 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4336, allocations: 4 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4336, allocations: 0 / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.4336, allocations: 0 / 1.285 GB, free: 9.578 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.0004267/0.434, allocations: 262.2 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.434, allocations: 15.97 kB / 1.285 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.286e-05/0.4341, allocations: 192 / 1.285 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.4341, allocations: 34.69 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.4341, allocations: 8.891 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4343, allocations: 110.5 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4343, allocations: 384 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.4343, allocations: 8.359 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.4345, allocations: 67.53 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4345, allocations: 3.984 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4345, allocations: 0 / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4345, allocations: 0 / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.535e-05/0.4345, allocations: 19.92 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.4347, allocations: 132.8 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.4348, allocations: 26.55 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.4348, allocations: 8.922 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.4349, allocations: 7.984 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.4349, allocations: 46.5 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4349, allocations: 0 / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0006403/0.4356, allocations: 225.1 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.4356, allocations: 51.41 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.4357, allocations: 113.8 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.4357, allocations: 25.7 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.4358, allocations: 84.14 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.4358, allocations: 3.953 kB / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.4358, allocations: 17.72 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.436, allocations: 327 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.617e-05/0.436, allocations: 8 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.4361, allocations: 29.64 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.639e-05/0.4361, allocations: 41.7 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4361, allocations: 4 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001196/0.4363, allocations: 73.52 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4363, allocations: 4 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4363, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4363, allocations: 4.062 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.4364, allocations: 8 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4364, allocations: 3.984 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.4364, allocations: 0 / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4364, allocations: 4 kB / 1.287 GB, free: 7.598 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.0001/0.4365, allocations: 109.8 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.4365, allocations: 3.938 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.4367, allocations: 73.61 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4367, allocations: 4 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4367, allocations: 3.938 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4367, allocations: 4 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.4368, allocations: 132.8 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4368, allocations: 7.875 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.4369, allocations: 7.984 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4369, allocations: 0 / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.4369, allocations: 4 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4369, allocations: 0 / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4369, allocations: 0 / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.4371, allocations: 109.2 kB / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.4371, allocations: 3.938 kB / 1.287 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.4371, allocations: 0 / 1.287 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.835e-05/0.4372, allocations: 20.06 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.4372, allocations: 4 kB / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.4372, allocations: 0 / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.699e-05/0.4373, allocations: 87.27 kB / 1.287 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4373, allocations: 0 / 1.287 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000229/0.4375, allocations: 23.94 kB / 1.287 GB, free: 6.93 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.0005788/0.4381, allocations: 0.6553 MB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.4382, allocations: 39.91 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4382, allocations: 192 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.239e-05/0.4382, allocations: 16 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.4384, allocations: 0 / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.4398, allocations: 1.256 MB / 1.289 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.864e-05/0.4398, allocations: 63.34 kB / 1.289 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.4399, allocations: 4 kB / 1.289 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.4399, allocations: 11.44 kB / 1.289 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.4399, allocations: 0 / 1.289 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.4647, allocations: 2.035 MB / 1.291 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.22, allocations: 8.062 kB / 1.291 GB, free: 2.859 MB / 0.9825 GB " [Timeout remaining time 288] (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.6161840549903]