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.001494/0.001494, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001742/0.001742, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.889/2.889, allocations: 476.8 MB / 0.7715 GB, free: 3.938 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.002165/0.002165, allocations: 63.14 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3523, allocations: 169.9 MB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002212/0.3545, allocations: 0.7022 MB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3555, allocations: 0.8278 MB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.3556, allocations: 4 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.3556, allocations: 3.938 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.3557, allocations: 7.938 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.126e-05/0.3557, allocations: 15.92 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.3559, allocations: 39.92 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.356, allocations: 9.391 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.3561, allocations: 23.92 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.3561, allocations: 15.92 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3561, allocations: 4 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.3561, allocations: 4 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.3562, allocations: 19.91 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.3562, allocations: 15.94 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.3563, allocations: 39.39 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3563, allocations: 0 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3563, allocations: 0 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.3563, allocations: 0 / 1.286 GB, free: 8.844 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.0006099/0.3569, allocations: 286.2 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.357, allocations: 8.031 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/0.357, allocations: 4.125 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.3571, allocations: 42.75 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.3571, allocations: 8.891 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3572, allocations: 114.4 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.3572, allocations: 384 / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.3572, allocations: 8.312 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.3575, allocations: 73.95 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3575, allocations: 0 / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3575, allocations: 0 / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3576, allocations: 0 / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.3578, allocations: 71.86 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.3583, allocations: 236 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.3585, allocations: 54.47 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.3586, allocations: 36.92 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3587, allocations: 4 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3587, allocations: 34.56 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3587, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005392/0.3592, allocations: 133.5 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3593, allocations: 55.41 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3594, allocations: 113.8 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3594, allocations: 25.7 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.3595, allocations: 88.14 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.3595, allocations: 3.953 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.3595, allocations: 17.72 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3597, allocations: 318.8 kB / 1.287 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3598, allocations: 31.97 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.36, allocations: 35.95 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.3602, allocations: 72.72 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3602, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003035/0.3606, allocations: 97.58 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3606, allocations: 8 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3606, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3606, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.3607, allocations: 15.98 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.3607, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.3608, allocations: 12.31 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.3608, allocations: 0 / 1.288 GB, free: 6.676 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.0001044/0.3609, allocations: 117.8 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.3609, allocations: 4 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.361, allocations: 15.98 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.361, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.361, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.361, allocations: 4 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.3612, allocations: 140.6 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3612, allocations: 3.938 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.805e-05/0.3613, allocations: 19.97 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3613, allocations: 0 / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3613, allocations: 7.938 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3613, allocations: 3.938 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3613, allocations: 4 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.3616, allocations: 191.4 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-06/0.3616, allocations: 4 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3616, allocations: 0 / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3618, allocations: 11.97 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.3618, allocations: 8 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3618, allocations: 0 / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.3618, allocations: 95.27 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3618, allocations: 0 / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002137/0.3621, allocations: 7.953 kB / 1.288 GB, free: 5.977 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.0006456/0.3627, allocations: 0.728 MB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.363, allocations: 67.92 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.363, allocations: 0 / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3632, allocations: 35.91 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3635, allocations: 7.984 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.3641, allocations: 151.2 kB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.048e-05/0.3641, allocations: 71.33 kB / 1.289 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.3642, allocations: 0 / 1.289 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.3642, allocations: 15.44 kB / 1.289 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.3642, allocations: 0 / 1.289 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.3864, allocations: 1.838 MB / 1.291 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.87, allocations: 4.062 kB / 1.291 GB, free: 3.145 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.97955006698612]