Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008418/0.0008418, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001046/0.001046, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8962/0.8962, allocations: 177.1 MB / 202.8 MB, free: 5.543 MB / 186.7 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 1.747/1.747, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.524e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001105/0.001121, allocations: 0.6872 MB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007052/0.001826, allocations: 0.8237 MB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.001912, allocations: 0 / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.001957, allocations: 3.938 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.002034, allocations: 15.86 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.066e-05/0.002105, allocations: 11.98 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.002182, allocations: 47.8 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.002289, allocations: 11.98 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.002368, allocations: 19.98 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.002407, allocations: 19.91 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.00243, allocations: 4 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.633e-06/0.002436, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.002453, allocations: 7.984 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.002475, allocations: 8 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.461e-05/0.00257, allocations: 47.8 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.002574, allocations: 0 / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.754e-06/0.002575, allocations: 4 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.00258, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 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.000413/0.002993, allocations: 286.3 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.003037, allocations: 8.75 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.003068, allocations: 34.73 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.00309, allocations: 8.891 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.003174, allocations: 117.7 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.003184, allocations: 384 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.003191, allocations: 384 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.00336, allocations: 78.16 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.003367, allocations: 4.172 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.003375, allocations: 384 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.003382, allocations: 4.125 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.003536, allocations: 67.92 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.003842, allocations: 232 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.003956, allocations: 58.48 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.004028, allocations: 40.91 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.00404, allocations: 7.875 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.004057, allocations: 30.56 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.004058, allocations: 0 / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003016/0.00436, allocations: 129.5 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.004392, allocations: 59.39 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/0.004457, allocations: 109.8 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.004469, allocations: 25.7 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.004513, allocations: 92.12 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.004532, allocations: 3.953 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.004563, allocations: 17.72 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.004696, allocations: 314.8 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.856e-05/0.004774, allocations: 31.97 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.004841, allocations: 31.97 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.004975, allocations: 64.78 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.004978, allocations: 4 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001671/0.005145, allocations: 105.5 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.005159, allocations: 8 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.005166, allocations: 7.922 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.005179, allocations: 0 / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.00526, allocations: 19.98 kB / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.005265, allocations: 0 / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.005303, allocations: 11.98 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.005308, allocations: 4 kB / 1.003 GB, free: 9.539 MB / 0.9636 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 5.215e-05/0.00536, allocations: 105.8 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.005375, allocations: 7.938 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.005396, allocations: 11.98 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.005398, allocations: 0 / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.005402, allocations: 0 / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005404, allocations: 0 / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.852e-05/0.005503, allocations: 132.8 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005504, allocations: 4 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.005542, allocations: 19.92 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005544, allocations: 0 / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.005553, allocations: 0 / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.005556, allocations: 4 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005556, allocations: 0 / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.005745, allocations: 203.6 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-06/0.005752, allocations: 3.938 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.005761, allocations: 8 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.811e-05/0.00581, allocations: 11.98 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.005846, allocations: 7.984 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.005851, allocations: 4 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.127e-05/0.005882, allocations: 91.27 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005882, allocations: 0 / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001406/0.006023, allocations: 11.89 kB / 1.004 GB, free: 8.848 MB / 0.9636 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.0004356/0.006458, allocations: 0.7307 MB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.006649, allocations: 67.92 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.006651, allocations: 0 / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.836e-05/0.006719, allocations: 35.95 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.006967, allocations: 9.719 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.007309, allocations: 159.2 kB / 1.005 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.007353, allocations: 67.28 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.6e-05/0.007379, allocations: 3.938 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.007421, allocations: 24.42 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.007421, allocations: 4 kB / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.02071, allocations: 2.327 MB / 1.007 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.411/6.432, allocations: 2.234 kB / 1.007 GB, free: 5.48 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.43235050700605]