Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006357/0.006357, allocations: 97.84 kB / 15.73 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 195.7 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.279/2.279, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.89 kB / 1.018 GB, free: 9.805 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6303/0.6326, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001631/0.6342, allocations: 0.7742 MB / 1.167 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008578/0.6351, allocations: 0.8414 MB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.6351, allocations: 0 / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.6352, allocations: 7.875 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.6352, allocations: 7.938 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.6354, allocations: 39.84 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.77e-05/0.6355, allocations: 67.89 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.6356, allocations: 23.97 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.6357, allocations: 27.86 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.6357, allocations: 43.83 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.6358, allocations: 8 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.6358, allocations: 4 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.6358, allocations: 19.98 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.6359, allocations: 35.78 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.636, allocations: 74.36 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.636, allocations: 0 / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.142e-06/0.636, allocations: 0 / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.636, allocations: 0 / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005152/0.6365, allocations: 380.1 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.6365, allocations: 8.922 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.6366, allocations: 42.73 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.6366, allocations: 12.89 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.6368, allocations: 172.3 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.6368, allocations: 384 / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.6368, allocations: 12.31 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.637, allocations: 82.14 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.637, allocations: 3.938 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.6371, allocations: 4 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.6371, allocations: 0 / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.6373, allocations: 71.94 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.6377, allocations: 320.7 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.638, allocations: 94.41 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.6381, allocations: 40.92 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.6381, allocations: 4 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.6382, allocations: 30.56 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.6382, allocations: 0 / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0004245/0.6386, allocations: 133.5 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.6386, allocations: 59.39 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.6387, allocations: 121.8 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.6388, allocations: 29.7 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.6388, allocations: 88.12 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.6389, allocations: 27.89 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.6389, allocations: 25.64 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.639, allocations: 318.8 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.6392, allocations: 31.97 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.6393, allocations: 35.97 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.6395, allocations: 64.81 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6395, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000267/0.6398, allocations: 110 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.6398, allocations: 4 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.6398, allocations: 4 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.6398, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.6399, allocations: 23.98 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.64, allocations: 0 / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.64, allocations: 7.984 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.64, allocations: 0 / 1.17 GB, free: 15.23 MB / 0.9044 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 (6): * Single equations (assignments): 6 * 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.503e-05/0.6401, allocations: 120 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.6402, allocations: 7.953 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.6402, allocations: 12.36 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.6402, allocations: 0 / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6402, allocations: 4 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.6402, allocations: 0 / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.6404, allocations: 193.6 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6404, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.6405, allocations: 15.98 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.6405, allocations: 7.938 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.6405, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.6406, allocations: 3.984 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6406, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.6409, allocations: 207.4 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.6409, allocations: 85 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.641, allocations: 0 / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.6411, allocations: 7.984 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.6411, allocations: 19.92 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.6411, allocations: 4 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.649e-05/0.6412, allocations: 95.64 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6412, allocations: 4 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002031/0.6414, allocations: 12 kB / 1.171 GB, free: 14.35 MB / 0.9044 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 (6): * Single equations (assignments): 6 * 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.0006402/0.6421, allocations: 0.7475 MB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.6423, allocations: 71.95 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.6423, allocations: 0 / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.6425, allocations: 47.89 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.6427, allocations: 10.5 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.6444, allocations: 1.444 MB / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.6447, allocations: 0.6846 MB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.448e-05/0.6447, allocations: 7.984 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.6448, allocations: 31.42 kB / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.6448, allocations: 0 / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9846/1.629, allocations: 2.309 MB / 1.176 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.599/11.23, allocations: 8.016 kB / 1.176 GB, free: 8.949 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches