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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 106.1 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.037/3.037, allocations: 476.7 MB / 0.7611 GB, free: 15.67 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.89 kB / 1.104 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265/1.267, allocations: 168.7 MB / 1.269 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001902/1.269, allocations: 0.54 MB / 1.269 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005617/1.27, allocations: 194.2 kB / 1.269 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/1.27, allocations: 0 / 1.269 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/1.27, allocations: 0 / 1.269 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/1.27, allocations: 5.281 kB / 1.269 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/1.271, allocations: 62.3 kB / 1.269 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/1.271, allocations: 11.69 kB / 1.269 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/1.271, allocations: 2.281 kB / 1.269 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/1.271, allocations: 4.844 kB / 1.269 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/1.271, allocations: 11.45 kB / 1.27 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/1.271, allocations: 4.875 kB / 1.27 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/1.271, allocations: 141.4 kB / 1.27 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/1.271, allocations: 7.844 kB / 1.27 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/1.271, allocations: 6.812 kB / 1.27 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/1.271, allocations: 69.91 kB / 1.27 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.271, allocations: 1.5 kB / 1.27 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.876e-06/1.271, allocations: 0 / 1.27 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.047e-06/1.271, allocations: 1.219 kB / 1.27 GB, free: 7.348 MB / 0.9981 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.0003983/1.272, allocations: 342.1 kB / 1.27 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.272, allocations: 10.25 kB / 1.27 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/1.272, allocations: 36.34 kB / 1.27 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/1.272, allocations: 2.438 kB / 1.27 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/1.272, allocations: 180 kB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/1.272, allocations: 1.156 kB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/1.272, allocations: 1.188 kB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/1.272, allocations: 40.86 kB / 1.27 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.272, allocations: 4.75 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/1.272, allocations: 0 / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.272, allocations: 0.7812 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.492e-05/1.272, allocations: 14.16 kB / 1.27 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/1.272, allocations: 159.4 kB / 1.27 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.28e-05/1.272, allocations: 27.58 kB / 1.271 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/1.273, allocations: 18.44 kB / 1.271 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.018e-05/1.273, allocations: 8.469 kB / 1.271 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/1.273, allocations: 32.02 kB / 1.271 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/1.273, allocations: 4 kB / 1.271 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0006397/1.273, allocations: 295.6 kB / 1.271 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/1.273, allocations: 52.92 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/1.273, allocations: 108.8 kB / 1.271 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/1.273, allocations: 29.7 kB / 1.271 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/1.273, allocations: 83.03 kB / 1.271 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/1.273, allocations: 13.78 kB / 1.271 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/1.273, allocations: 19.62 kB / 1.271 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.568e-05/1.274, allocations: 317.9 kB / 1.271 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.154e-05/1.274, allocations: 11.53 kB / 1.271 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/1.274, allocations: 30.81 kB / 1.271 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.323e-05/1.274, allocations: 37.36 kB / 1.272 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/1.274, allocations: 0.75 kB / 1.272 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/1.274, allocations: 70.95 kB / 1.272 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.274, allocations: 11.19 kB / 1.272 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.274, allocations: 1.266 kB / 1.272 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.274, allocations: 0.7812 kB / 1.272 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/1.274, allocations: 11.59 kB / 1.272 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.274, allocations: 1.297 kB / 1.272 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/1.274, allocations: 0.8125 kB / 1.272 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/1.274, allocations: 1.562 kB / 1.272 GB, free: 5.414 MB / 0.9981 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 5.842e-05/1.274, allocations: 118.4 kB / 1.272 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/1.274, allocations: 10.25 kB / 1.272 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/1.274, allocations: 74.39 kB / 1.272 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.274, allocations: 1.609 kB / 1.272 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.274, allocations: 0.8125 kB / 1.272 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.274, allocations: 3.984 kB / 1.272 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/1.274, allocations: 164.1 kB / 1.272 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.274, allocations: 1.375 kB / 1.272 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/1.274, allocations: 4.891 kB / 1.272 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.274, allocations: 8.688 kB / 1.272 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/1.274, allocations: 1.453 kB / 1.272 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.274, allocations: 4.875 kB / 1.272 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.274, allocations: 0.5625 kB / 1.272 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/1.274, allocations: 105.1 kB / 1.272 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/1.275, allocations: 86.27 kB / 1.272 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/1.275, allocations: 1.797 kB / 1.272 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/1.275, allocations: 5.562 kB / 1.272 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/1.275, allocations: 6.219 kB / 1.272 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/1.275, allocations: 5.391 kB / 1.272 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.621e-05/1.275, allocations: 85.47 kB / 1.272 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.275, allocations: 0 / 1.272 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002495/1.275, allocations: 21.41 kB / 1.272 GB, free: 4.758 MB / 0.9981 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.0004327/1.275, allocations: 0.661 MB / 1.273 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000129/1.275, allocations: 35.98 kB / 1.273 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.275, allocations: 0 / 1.273 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/1.275, allocations: 13.03 kB / 1.273 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/1.276, allocations: 2.766 kB / 1.273 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/1.277, allocations: 1.252 MB / 1.274 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/1.277, allocations: 0.6807 MB / 1.275 GB, free: 18.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.386e-05/1.277, allocations: 15.94 kB / 1.275 GB, free: 18.28 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/1.277, allocations: 18.5 kB / 1.275 GB, free: 18.26 MB / 1.014 GB Notification: Performance of SimCode: time 9.92e-07/1.277, allocations: 0 / 1.275 GB, free: 18.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/1.307, allocations: 1.889 MB / 1.277 GB, free: 17.89 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/9.478, allocations: 11.59 kB / 1.277 GB, free: 17.89 MB / 1.014 GB " [Timeout remaining time 290] (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_2/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: 16.156115321908146]