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.001505/0.001505, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001656/0.001656, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.327/1.327, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] 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 2.939/2.939, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",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.001903/0.001903, allocations: 67.94 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2942, allocations: 181.8 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001551/0.2957, allocations: 0.5413 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004749/0.2962, allocations: 179.9 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.2962, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.2962, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.2963, allocations: 3.938 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.2966, allocations: 67.83 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.489e-05/0.2967, allocations: 23.86 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.19e-05/0.2967, allocations: 0 / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/0.2967, allocations: 4 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.565e-05/0.2968, allocations: 7.984 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.2968, allocations: 0 / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.297, allocations: 163.7 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/0.2971, allocations: 7.938 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.2971, allocations: 3.938 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.2972, allocations: 72.11 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2972, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2972, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2972, allocations: 4 kB / 1.364 GB, free: 13.04 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.0003169/0.2976, allocations: 266.2 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2976, allocations: 12.03 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.2976, allocations: 34.69 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.095e-05/0.2976, allocations: 0.9375 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.067e-05/0.2977, allocations: 114.5 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2977, allocations: 384 / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.2978, allocations: 4.375 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.2979, allocations: 59.97 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2979, allocations: 3.938 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.2979, allocations: 8 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2979, allocations: 0 / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.2979, allocations: 11.98 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.2981, allocations: 128.8 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.387e-05/0.2981, allocations: 30.52 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.2981, allocations: 8.922 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.2982, allocations: 7.984 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2982, allocations: 30.56 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2982, allocations: 4 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004649/0.2987, allocations: 233.2 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.2987, allocations: 55.41 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.2988, allocations: 105.8 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.2988, allocations: 25.7 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.2988, allocations: 88.14 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.2989, allocations: 7.906 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.2989, allocations: 21.7 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.299, allocations: 314.8 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.299, allocations: 15.94 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.2991, allocations: 29.7 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/0.2991, allocations: 41.83 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2991, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.22e-05/0.2992, allocations: 65.62 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2992, allocations: 14.44 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.2992, allocations: 3.938 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2993, allocations: 0 / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.436e-05/0.2993, allocations: 15.92 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2993, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.2993, allocations: 8.062 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2993, allocations: 0 / 1.366 GB, free: 11.07 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 7.113e-05/0.2994, allocations: 110.9 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2994, allocations: 11.89 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.2996, allocations: 73.61 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2996, allocations: 0 / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2996, allocations: 0 / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2996, allocations: 0 / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.2997, allocations: 140.7 kB / 1.366 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2997, allocations: 0 / 1.366 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.2997, allocations: 11.98 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2997, allocations: 3.938 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.2997, allocations: 0 / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2997, allocations: 0 / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.2997, allocations: 4 kB / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.2999, allocations: 101 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.2999, allocations: 11.92 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.2999, allocations: 0 / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/0.3, allocations: 3.984 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.3, allocations: 4 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3, allocations: 0 / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.295e-05/0.3, allocations: 95.33 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3, allocations: 0 / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001979/0.3002, allocations: 19.94 kB / 1.367 GB, free: 10.4 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.0004748/0.3007, allocations: 0.6514 MB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.3008, allocations: 31.97 kB / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3008, allocations: 0 / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.3008, allocations: 16 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.301, allocations: 5.891 kB / 1.367 GB, free: 9.672 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.3021, allocations: 1.257 MB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.877e-05/0.3022, allocations: 63.34 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.646e-05/0.3022, allocations: 8 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.3022, allocations: 11.44 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3022, allocations: 0 / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.3312, allocations: 2.382 MB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.962/10.29, allocations: 8.547 kB / 1.371 GB, free: 5.977 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.255060529801995]