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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007499/0.007499, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001417/0.001417, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.858/2.858, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3893, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002169/0.3915, allocations: 0.7592 MB / 1.209 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3926, allocations: 0.8389 MB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.3927, allocations: 4 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.3928, allocations: 7.922 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.3929, allocations: 11.88 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.3931, allocations: 27.97 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3932, allocations: 71.83 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3933, allocations: 27.83 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.3934, allocations: 39.84 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.052e-05/0.3935, allocations: 35.83 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.3936, allocations: 8 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.3936, allocations: 8 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.3936, allocations: 15.92 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.3937, allocations: 31.84 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.3938, allocations: 71.75 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3938, allocations: 0 / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3938, allocations: 3.938 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3938, allocations: 3.984 kB / 1.21 GB, free: 7.648 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.0006985/0.3945, allocations: 375.3 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3946, allocations: 8.031 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.3947, allocations: 12.78 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.3949, allocations: 192.1 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3949, allocations: 384 / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.3949, allocations: 4.375 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.3952, allocations: 82.2 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3952, allocations: 4.188 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3952, allocations: 3.938 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3952, allocations: 4 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.3955, allocations: 63.94 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.396, allocations: 328.6 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.3962, allocations: 86.53 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.3964, allocations: 41.03 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3964, allocations: 7.938 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.3965, allocations: 34.5 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.3965, allocations: 0 / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0005132/0.397, allocations: 137.5 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.397, allocations: 51.41 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.3971, allocations: 121.8 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3972, allocations: 29.7 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.3972, allocations: 88.14 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3973, allocations: 27.64 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.3973, allocations: 13.72 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3975, allocations: 326.8 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3976, allocations: 27.98 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3977, allocations: 31.97 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.3979, allocations: 77.12 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3979, allocations: 0 / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002895/0.3982, allocations: 105.5 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3982, allocations: 4 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3983, allocations: 0 / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3983, allocations: 4 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.3984, allocations: 15.97 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3985, allocations: 4 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.3985, allocations: 8 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3986, allocations: 3.984 kB / 1.212 GB, free: 5.145 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 9.826e-05/0.3987, allocations: 125.7 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.3987, allocations: 3.906 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.3987, allocations: 12.38 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3987, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3988, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3988, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.399, allocations: 193.5 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.399, allocations: 3.938 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.3991, allocations: 19.97 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3991, allocations: 0 / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3992, allocations: 11.94 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3992, allocations: 4 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3992, allocations: 0 / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.3995, allocations: 203.3 kB / 1.212 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.3996, allocations: 85.09 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.3996, allocations: 128 / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3997, allocations: 8 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.3998, allocations: 15.98 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3998, allocations: 7.984 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.417e-05/0.3999, allocations: 95.7 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3999, allocations: 0 / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002329/0.4001, allocations: 19.84 kB / 1.213 GB, free: 4.25 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.0001727/0.4003, allocations: 95.25 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.4006, allocations: 79.88 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4006, allocations: 0 / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.4008, allocations: 47.91 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.4012, allocations: 7.422 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.4017, allocations: 165.5 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4019, allocations: 0.6924 MB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.57e-05/0.402, allocations: 7.984 kB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.4021, allocations: 19.44 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.4021, allocations: 0 / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of Templates: time 0.003638/0.4057, allocations: 1.23 MB / 1.215 GB, free: 1.863 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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