Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001555/0.001555, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001678/0.001678, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.462/1.462, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.016/3.016, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_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.002046/0.002046, allocations: 67.91 kB / 1.165 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.091, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001952/1.092, allocations: 0.527 MB / 1.341 GB, free: 15.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005346/1.093, allocations: 199.1 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/1.093, allocations: 1.438 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/1.093, allocations: 4 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.844e-05/1.093, allocations: 4.594 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/1.093, allocations: 53.77 kB / 1.341 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.28e-05/1.094, allocations: 11.75 kB / 1.341 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/1.094, allocations: 2.766 kB / 1.341 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/1.094, allocations: 6.672 kB / 1.341 GB, free: 15.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.602e-05/1.094, allocations: 15.73 kB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/1.094, allocations: 0.9062 kB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/1.094, allocations: 137.6 kB / 1.341 GB, free: 15.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/1.094, allocations: 4.344 kB / 1.341 GB, free: 15.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/1.094, allocations: 13.72 kB / 1.341 GB, free: 15.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/1.094, allocations: 70.31 kB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.094, allocations: 1.125 kB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.094, allocations: 0 / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.094, allocations: 0 / 1.341 GB, free: 15.73 MB / 1.061 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.0002924/1.094, allocations: 339.9 kB / 1.341 GB, free: 15.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.094, allocations: 13.41 kB / 1.341 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.332e-05/1.094, allocations: 5.375 kB / 1.341 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.83e-05/1.094, allocations: 35.36 kB / 1.342 GB, free: 15.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/1.095, allocations: 3.219 kB / 1.342 GB, free: 15.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.917e-05/1.095, allocations: 171.8 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/1.095, allocations: 1.531 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/1.095, allocations: 2.078 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.55e-05/1.095, allocations: 43.11 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/1.095, allocations: 1.219 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/1.095, allocations: 0.6562 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.095, allocations: 0 / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/1.095, allocations: 10.66 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/1.095, allocations: 165.8 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/1.095, allocations: 24.02 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/1.095, allocations: 11.28 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/1.095, allocations: 8.344 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/1.095, allocations: 40.36 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/1.095, allocations: 0 / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004809/1.095, allocations: 296.9 kB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/1.096, allocations: 56.14 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.314e-05/1.096, allocations: 117 kB / 1.342 GB, free: 14.35 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/1.096, allocations: 29.7 kB / 1.342 GB, free: 14.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/1.096, allocations: 82.22 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/1.096, allocations: 14.05 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/1.096, allocations: 18.77 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.407e-05/1.096, allocations: 321.7 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/1.096, allocations: 12.27 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/1.096, allocations: 22.81 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.319e-05/1.096, allocations: 41.89 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/1.096, allocations: 0 / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.792e-05/1.096, allocations: 75.25 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.096, allocations: 7.281 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.096, allocations: 0.8906 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.096, allocations: 1.031 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/1.096, allocations: 10.88 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.096, allocations: 1.797 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/1.096, allocations: 5.25 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/1.096, allocations: 0.9688 kB / 1.343 GB, free: 13.79 MB / 1.061 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 4.756e-05/1.096, allocations: 122.7 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/1.096, allocations: 10.31 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/1.096, allocations: 70.62 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.096, allocations: 0.9688 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/1.096, allocations: 0 / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.096, allocations: 1.625 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.55e-05/1.096, allocations: 163.2 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.096, allocations: 2.297 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/1.096, allocations: 8.766 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/1.096, allocations: 0 / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/1.096, allocations: 5.125 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.096, allocations: 5.969 kB / 1.343 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/1.096, allocations: 0 / 1.343 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/1.096, allocations: 104.5 kB / 1.343 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/1.096, allocations: 86.91 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/1.097, allocations: 1.188 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.223e-05/1.097, allocations: 6.141 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/1.097, allocations: 1.844 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-06/1.097, allocations: 6.891 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.847e-05/1.097, allocations: 84.14 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.097, allocations: 0 / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002096/1.097, allocations: 21.88 kB / 1.344 GB, free: 13.14 MB / 1.061 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.0003421/1.097, allocations: 0.66 MB / 1.344 GB, free: 12.53 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.852e-05/1.097, allocations: 34.53 kB / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.097, allocations: 0 / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/1.097, allocations: 14.02 kB / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/1.097, allocations: 6.047 kB / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008238/1.098, allocations: 1.253 MB / 1.346 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/1.098, allocations: 0.6808 MB / 1.346 GB, free: 10.67 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.429e-05/1.098, allocations: 8.516 kB / 1.346 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/1.098, allocations: 17.41 kB / 1.346 GB, free: 10.65 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.098, allocations: 0 / 1.346 GB, free: 10.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/1.118, allocations: 1.927 MB / 1.348 GB, free: 10.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.986, allocations: 11.77 kB / 1.348 GB, free: 10.26 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.562191186007112]