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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005123/0.005123, allocations: 99.69 kB / 15.73 MB, free: 6.043 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.001432/0.001432, allocations: 192.3 kB / 16.67 MB, free: 5.953 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.578/2.578, allocations: 482.6 MB / 0.7551 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.27 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.269, allocations: 162.3 MB / 1.242 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001636/0.2707, allocations: 0.7644 MB / 1.243 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008101/0.2715, allocations: 0.8432 MB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.2716, allocations: 0 / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.2716, allocations: 3.938 kB / 1.243 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.2716, allocations: 11.88 kB / 1.243 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.813e-05/0.2717, allocations: 23.97 kB / 1.244 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.284e-05/0.2718, allocations: 75.77 kB / 1.244 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.316e-05/0.2719, allocations: 27.97 kB / 1.244 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.2719, allocations: 31.86 kB / 1.244 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.272, allocations: 39.83 kB / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.272, allocations: 8 kB / 1.244 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.2721, allocations: 8 kB / 1.244 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.2721, allocations: 19.91 kB / 1.244 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.2721, allocations: 31.8 kB / 1.244 GB, free: 7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.235e-05/0.2722, allocations: 79.95 kB / 1.244 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.2722, allocations: 0 / 1.244 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2722, allocations: 0 / 1.244 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.2722, allocations: 0 / 1.244 GB, free: 6.922 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004422/0.2727, allocations: 383.2 kB / 1.244 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.159e-05/0.2727, allocations: 8.031 kB / 1.244 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.2727, allocations: 38.73 kB / 1.244 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.2728, allocations: 8.891 kB / 1.244 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2729, allocations: 180.2 kB / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.2729, allocations: 384 / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.2729, allocations: 4.375 kB / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.2731, allocations: 90.14 kB / 1.245 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2731, allocations: 3.938 kB / 1.245 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2732, allocations: 7.984 kB / 1.245 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-06/0.2732, allocations: 3.938 kB / 1.245 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.2734, allocations: 67.94 kB / 1.245 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.2738, allocations: 320.7 kB / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.274, allocations: 86.53 kB / 1.245 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.2741, allocations: 44.92 kB / 1.245 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.2741, allocations: 0 / 1.245 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.2742, allocations: 34.5 kB / 1.245 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 7.62e-07/0.2742, allocations: 0 / 1.245 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004055/0.2746, allocations: 137.6 kB / 1.245 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.2746, allocations: 59.39 kB / 1.245 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.2747, allocations: 117.8 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2747, allocations: 25.7 kB / 1.245 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.2748, allocations: 100.1 kB / 1.245 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.2748, allocations: 19.8 kB / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.2749, allocations: 17.7 kB / 1.246 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.275, allocations: 326.8 kB / 1.246 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.2751, allocations: 31.97 kB / 1.246 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.2752, allocations: 31.97 kB / 1.246 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.2754, allocations: 68.75 kB / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2754, allocations: 0 / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002651/0.2757, allocations: 109.5 kB / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.2757, allocations: 8 kB / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.2757, allocations: 0 / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/0.2757, allocations: 0 / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.2759, allocations: 15.98 kB / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2759, allocations: 112 / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.276, allocations: 15.92 kB / 1.246 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.276, allocations: 0 / 1.246 GB, free: 4.367 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 (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 7.749e-05/0.2761, allocations: 125.7 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.2761, allocations: 7.953 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.2761, allocations: 12.36 kB / 1.246 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2761, allocations: 0 / 1.246 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2761, allocations: 0 / 1.246 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2761, allocations: 4 kB / 1.246 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.2763, allocations: 193.5 kB / 1.246 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2763, allocations: 0 / 1.246 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.2764, allocations: 16.42 kB / 1.246 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2765, allocations: 4 kB / 1.246 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2765, allocations: 4 kB / 1.246 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.2765, allocations: 7.984 kB / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2765, allocations: 0 / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.2768, allocations: 207.3 kB / 1.247 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.2768, allocations: 81.06 kB / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.2769, allocations: 0 / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.277, allocations: 11.98 kB / 1.247 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.277, allocations: 15.98 kB / 1.247 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.277, allocations: 0 / 1.247 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.757e-05/0.2771, allocations: 99.27 kB / 1.247 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2771, allocations: 0 / 1.247 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002047/0.2773, allocations: 8 kB / 1.247 GB, free: 3.492 MB / 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 (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.0006041/0.2779, allocations: 0.7441 MB / 1.248 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.2782, allocations: 71.89 kB / 1.248 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.2782, allocations: 0 / 1.248 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.2783, allocations: 43.95 kB / 1.248 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.2786, allocations: 10.03 kB / 1.248 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.2802, allocations: 1.438 MB / 1.249 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2805, allocations: 0.6923 MB / 1.25 GB, free: 372 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.537e-05/0.2805, allocations: 11.98 kB / 1.25 GB, free: 360 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.2806, allocations: 31.42 kB / 1.25 GB, free: 328 kB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.2806, allocations: 0 / 1.25 GB, free: 328 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.508/1.789, allocations: 2.309 MB / 1.252 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/13.21, allocations: 11.72 kB / 1.252 GB, free: 14.09 MB / 0.9825 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=400 --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) Reference file matches