Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.002147/0.002147, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002098/0.002098, allocations: 214.5 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.879/2.879, allocations: 476.7 MB / 0.7714 GB, free: 4.277 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.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",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.002047/0.002047, allocations: 69.41 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3764, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002145/0.3786, allocations: 0.722 MB / 1.285 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3797, allocations: 0.8356 MB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.3797, allocations: 0 / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.3797, allocations: 0 / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.3798, allocations: 7.875 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.358e-05/0.3799, allocations: 15.98 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.282e-05/0.38, allocations: 47.84 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3801, allocations: 11.98 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.233e-05/0.3801, allocations: 19.92 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.3802, allocations: 19.92 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.3802, allocations: 4 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.3802, allocations: 4 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.3802, allocations: 7.984 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.3803, allocations: 15.88 kB / 1.286 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.963e-05/0.3804, allocations: 44.45 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3804, allocations: 8 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3804, allocations: 3.938 kB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.3804, allocations: 0 / 1.286 GB, free: 9.938 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005645/0.381, allocations: 288.1 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.381, allocations: 12.03 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.361e-05/0.381, allocations: 192 / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.381, allocations: 30.75 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.3811, allocations: 8.938 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3812, allocations: 114.5 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3812, allocations: 4.375 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.3813, allocations: 384 / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.3815, allocations: 73.95 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3815, allocations: 0 / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.3815, allocations: 4 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3815, allocations: 0 / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.3818, allocations: 71.86 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.3822, allocations: 235.9 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3824, allocations: 54.53 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.3826, allocations: 36.92 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.3826, allocations: 3.984 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.3826, allocations: 38.5 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3826, allocations: 4 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005911/0.3832, allocations: 133.5 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3833, allocations: 51.41 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3834, allocations: 105.8 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3834, allocations: 25.7 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.3835, allocations: 92.12 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.3835, allocations: 3.953 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.3835, allocations: 17.72 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3837, allocations: 318.8 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3838, allocations: 31.95 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.384, allocations: 31.97 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.3843, allocations: 72.72 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3843, allocations: 4 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003273/0.3846, allocations: 97.89 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3846, allocations: 8 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3846, allocations: 0 / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3846, allocations: 0 / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3848, allocations: 27.97 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3848, allocations: 0 / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.46e-05/0.3849, allocations: 7.984 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3849, allocations: 7.938 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 0.0001123/0.385, allocations: 113.8 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.385, allocations: 7.938 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.3851, allocations: 8 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3851, allocations: 0 / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3851, allocations: 4 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3851, allocations: 3.984 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.3853, allocations: 144.6 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3853, allocations: 0 / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.3854, allocations: 15.98 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3854, allocations: 0 / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3854, allocations: 0 / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3854, allocations: 0 / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3854, allocations: 4 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.3858, allocations: 195.4 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.3858, allocations: 7.953 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3858, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3859, allocations: 15.92 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.386, allocations: 3.984 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.386, allocations: 11.94 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.016e-05/0.386, allocations: 87.27 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.386, allocations: 0 / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000228/0.3863, allocations: 11.94 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.0007506/0.387, allocations: 0.7202 MB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.3874, allocations: 67.86 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3874, allocations: 0 / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.3875, allocations: 39.95 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.3879, allocations: 8 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.3884, allocations: 155.2 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3888, allocations: 0.6807 MB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.3888, allocations: 4 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.3889, allocations: 19.42 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3889, allocations: 0 / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.4112, allocations: 1.773 MB / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 15.67 kB / 1.292 GB, free: 3.656 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 18.727426346973516]