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.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.001531/0.001531, allocations: 111 kB / 16.46 MB, free: 6.504 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.001569/0.001569, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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 2.71/2.71, allocations: 476.7 MB / 0.7611 GB, free: 11.36 MB / 0.6231 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.91 kB / 1.104 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8141, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001993/0.8161, allocations: 0.7107 MB / 1.27 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009071/0.817, allocations: 0.8118 MB / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.817, allocations: 0 / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.817, allocations: 3.938 kB / 1.27 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.928e-05/0.8171, allocations: 7.938 kB / 1.27 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.774e-05/0.8172, allocations: 15.98 kB / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.337e-05/0.8173, allocations: 39.91 kB / 1.27 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.8174, allocations: 8 kB / 1.27 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.8174, allocations: 15.92 kB / 1.27 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.8175, allocations: 19.92 kB / 1.27 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.8175, allocations: 4 kB / 1.27 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.8175, allocations: 7.938 kB / 1.27 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.8175, allocations: 19.91 kB / 1.27 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.8175, allocations: 11.94 kB / 1.27 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.209e-05/0.8176, allocations: 45.69 kB / 1.27 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.8176, allocations: 3.938 kB / 1.27 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8176, allocations: 0 / 1.27 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.8176, allocations: 0 / 1.27 GB, free: 3.434 MB / 0.9669 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.0005552/0.8182, allocations: 371.3 kB / 1.271 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.8182, allocations: 8.031 kB / 1.271 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.8183, allocations: 30.75 kB / 1.271 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.8183, allocations: 8.891 kB / 1.271 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.8184, allocations: 172.4 kB / 1.271 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.8184, allocations: 384 / 1.271 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.8184, allocations: 384 / 1.271 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.8187, allocations: 74.16 kB / 1.271 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8187, allocations: 3.938 kB / 1.271 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.8187, allocations: 4 kB / 1.271 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.8187, allocations: 0 / 1.271 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.819, allocations: 67.92 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.8193, allocations: 272.8 kB / 1.271 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.8195, allocations: 58.53 kB / 1.272 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.8197, allocations: 40.86 kB / 1.272 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.8197, allocations: 0 / 1.272 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.8197, allocations: 34.56 kB / 1.272 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.8197, allocations: 0 / 1.272 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004966/0.8202, allocations: 129.6 kB / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.8202, allocations: 55.34 kB / 1.272 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.893e-05/0.8203, allocations: 105.8 kB / 1.272 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.8203, allocations: 25.7 kB / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.8204, allocations: 92.08 kB / 1.272 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.8204, allocations: 7.906 kB / 1.272 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.8205, allocations: 17.72 kB / 1.272 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8206, allocations: 318.8 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.8207, allocations: 35.91 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.8209, allocations: 31.95 kB / 1.272 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.8211, allocations: 72.73 kB / 1.272 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.8211, allocations: 3.984 kB / 1.272 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002908/0.8214, allocations: 93.91 kB / 1.273 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.8214, allocations: 4 kB / 1.273 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.8214, allocations: 48 / 1.273 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.8214, allocations: 7.922 kB / 1.273 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.8216, allocations: 23.98 kB / 1.273 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8216, allocations: 3.938 kB / 1.273 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.8216, allocations: 15.94 kB / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.8216, allocations: 0 / 1.273 GB, free: 1.051 MB / 0.9669 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 8.087e-05/0.8217, allocations: 113.8 kB / 1.273 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.8218, allocations: 4 kB / 1.273 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.8218, allocations: 7.906 kB / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.8218, allocations: 0 / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8218, allocations: 4 kB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.8218, allocations: 0 / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.822, allocations: 169.6 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.822, allocations: 0 / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.8221, allocations: 19.97 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.8221, allocations: 0 / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.8221, allocations: 0 / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8221, allocations: 0 / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8221, allocations: 4 kB / 1.273 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.8224, allocations: 203.3 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.8225, allocations: 81.09 kB / 1.273 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.8225, allocations: 0 / 1.273 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.8226, allocations: 15.98 kB / 1.273 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.8226, allocations: 0 / 1.273 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.8226, allocations: 8 kB / 1.273 GB, free: 336 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.8227, allocations: 87.27 kB / 1.273 GB, free: 248 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8227, allocations: 0 / 1.273 GB, free: 248 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002145/0.8229, allocations: 8 kB / 1.273 GB, free: 240 kB / 0.9669 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.0007233/0.8236, allocations: 0.7362 MB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.824, allocations: 67.86 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.824, allocations: 0 / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.8241, allocations: 39.97 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.8244, allocations: 7.984 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.8249, allocations: 159 kB / 1.274 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.8252, allocations: 0.6846 MB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.8252, allocations: 4 kB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.8253, allocations: 15.38 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8253, allocations: 0 / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.8485, allocations: 1.637 MB / 1.277 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.838, allocations: 8.078 kB / 1.277 GB, free: 12.89 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 14.877772996202111]