Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_latest_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.008442/0.008442, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001631/0.001631, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 1.054 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8324/0.8337, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002572/0.8364, allocations: 0.7522 MB / 1.208 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.8377, allocations: 0.8468 MB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.8378, allocations: 4 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.25e-05/0.8378, allocations: 3.938 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.838, allocations: 11.86 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.8382, allocations: 23.97 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.8383, allocations: 71.83 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.8385, allocations: 19.98 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.8386, allocations: 35.84 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.8387, allocations: 39.84 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.8387, allocations: 11.94 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.8387, allocations: 4 kB / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.8388, allocations: 19.97 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.8388, allocations: 35.78 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.839, allocations: 67.77 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.839, allocations: 0 / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.108e-06/0.839, allocations: 4 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.839, allocations: 0 / 1.209 GB, free: 11.57 MB / 0.9356 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.0006873/0.8397, allocations: 377.5 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.8398, allocations: 8.031 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.8398, allocations: 34.75 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.8399, allocations: 8.844 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.84, allocations: 188.1 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.8401, allocations: 4.359 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.8401, allocations: 12.31 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.8403, allocations: 86.14 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.8404, allocations: 3.938 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8404, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.8404, allocations: 4 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.8406, allocations: 63.94 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.8411, allocations: 328.6 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.8414, allocations: 82.55 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.8415, allocations: 40.92 kB / 1.21 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.8416, allocations: 4 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.8416, allocations: 30.56 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.8416, allocations: 0 / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0004736/0.8421, allocations: 141.5 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.8421, allocations: 55.41 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.8422, allocations: 125.8 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.8423, allocations: 25.7 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.8423, allocations: 92.08 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.8424, allocations: 23.7 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.8424, allocations: 17.83 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8426, allocations: 330.7 kB / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.8427, allocations: 23.98 kB / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.8428, allocations: 31.97 kB / 1.211 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.843, allocations: 72.75 kB / 1.211 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.843, allocations: 0 / 1.211 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002763/0.8433, allocations: 109.5 kB / 1.211 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.8433, allocations: 4 kB / 1.211 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8433, allocations: 0 / 1.211 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.8433, allocations: 4 kB / 1.211 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.8435, allocations: 15.97 kB / 1.211 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.8435, allocations: 0 / 1.211 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.8436, allocations: 8 kB / 1.211 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.8436, allocations: 3.984 kB / 1.211 GB, free: 9.02 MB / 0.9356 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 9.411e-05/0.8437, allocations: 129.7 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.8437, allocations: 3.906 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.8438, allocations: 12.38 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8438, allocations: 0 / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.8438, allocations: 0 / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.8438, allocations: 0 / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.844, allocations: 198 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.844, allocations: 0 / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.8442, allocations: 23.97 kB / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8442, allocations: 0 / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.8442, allocations: 11.94 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8442, allocations: 0 / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8442, allocations: 0 / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.8445, allocations: 199.3 kB / 1.212 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.8446, allocations: 85.09 kB / 1.212 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.8446, allocations: 0 / 1.212 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.8447, allocations: 15.94 kB / 1.212 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.8448, allocations: 11.98 kB / 1.212 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.8448, allocations: 7.984 kB / 1.212 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.848e-05/0.8449, allocations: 91.27 kB / 1.212 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8449, allocations: 3.938 kB / 1.212 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002344/0.8451, allocations: 19.91 kB / 1.212 GB, free: 8.125 MB / 0.9356 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.0006689/0.8458, allocations: 0.728 MB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.8461, allocations: 75.88 kB / 1.213 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8461, allocations: 0 / 1.213 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.8462, allocations: 39.97 kB / 1.213 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.8466, allocations: 13.56 kB / 1.213 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.8487, allocations: 1.458 MB / 1.215 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.849, allocations: 0.6885 MB / 1.215 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.562e-05/0.8491, allocations: 8 kB / 1.215 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.8492, allocations: 23.42 kB / 1.215 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of SimCode: time 7.21e-07/0.8492, allocations: 0 / 1.215 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.8748, allocations: 2.314 MB / 1.217 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.637, allocations: 19.66 kB / 1.218 GB, free: 2.727 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,round1.u,round1.y,round2.u,round2.y,round3.u,round3.y Variables in the result:gai.k,gai.u,gai.y,gai1.k,gai1.u,gai1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,round3.n,round3.u,round3.y,time