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: 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.00146/0.00146, allocations: 112.2 kB / 16.42 MB, free: 6.48 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.001568/0.001568, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.533/1.533, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.731/2.731, allocations: 472.7 MB / 0.746 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 67.84 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8985/0.9001, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001915/0.902, allocations: 0.7638 MB / 1.227 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.9031, allocations: 0.8467 MB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.9032, allocations: 4 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.9032, allocations: 3.938 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.482e-05/0.9033, allocations: 15.8 kB / 1.228 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.9035, allocations: 23.97 kB / 1.228 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.9036, allocations: 63.89 kB / 1.228 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.9037, allocations: 20 kB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.9038, allocations: 43.77 kB / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.777e-05/0.9039, allocations: 35.84 kB / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.9039, allocations: 8 kB / 1.228 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.904, allocations: 8 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.904, allocations: 15.97 kB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.904, allocations: 35.8 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.9042, allocations: 68.73 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9042, allocations: 4 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9042, allocations: 0 / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.9042, allocations: 0 / 1.228 GB, free: 11.54 MB / 0.9512 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.000622/0.9048, allocations: 378.7 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.9049, allocations: 8.031 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.9049, allocations: 12.83 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.9051, allocations: 184.2 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.9051, allocations: 4.375 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.9051, allocations: 8.375 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.9054, allocations: 78.2 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.9054, allocations: 192 / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.9054, allocations: 11.92 kB / 1.229 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.9054, allocations: 4 kB / 1.229 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.9057, allocations: 55.95 kB / 1.229 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.9062, allocations: 336.6 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.9064, allocations: 82.53 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.9066, allocations: 40.92 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.9066, allocations: 0 / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.9066, allocations: 38.5 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.9066, allocations: 0 / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0004641/0.9071, allocations: 137.6 kB / 1.23 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.9072, allocations: 51.52 kB / 1.23 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.9073, allocations: 121.8 kB / 1.23 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.9073, allocations: 25.7 kB / 1.23 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.9073, allocations: 92.12 kB / 1.23 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.9074, allocations: 27.8 kB / 1.23 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.9074, allocations: 21.7 kB / 1.23 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.9076, allocations: 318.8 kB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.9077, allocations: 27.97 kB / 1.23 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.9078, allocations: 31.97 kB / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.908, allocations: 77.12 kB / 1.23 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9081, allocations: 7.938 kB / 1.23 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002758/0.9083, allocations: 105.6 kB / 1.23 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.9084, allocations: 5.25 kB / 1.231 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.9084, allocations: 0 / 1.231 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.9084, allocations: 4 kB / 1.231 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.9085, allocations: 11.98 kB / 1.231 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.9086, allocations: 4 kB / 1.231 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.627e-05/0.9087, allocations: 11.98 kB / 1.231 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.9087, allocations: 0 / 1.231 GB, free: 9.043 MB / 0.9512 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 0.0001033/0.9088, allocations: 122.2 kB / 1.231 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.9088, allocations: 3.953 kB / 1.231 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.9089, allocations: 16.36 kB / 1.231 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9089, allocations: 0 / 1.231 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9089, allocations: 0 / 1.231 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.9089, allocations: 81.06 kB / 1.231 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.9089, allocations: 4 kB / 1.231 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.9091, allocations: 19.92 kB / 1.231 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.9092, allocations: 11.98 kB / 1.231 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003875/0.9095, allocations: 188.9 kB / 1.231 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003651/0.9099, allocations: 282.7 kB / 1.231 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001351/0.9101, allocations: 35.97 kB / 1.231 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.178e-05/0.9101, allocations: 103.6 kB / 1.231 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of Backend: time 3.4e-07/0.9101, allocations: 0 / 1.231 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005085/0.9107, allocations: 116.9 kB / 1.231 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006182/0.9113, allocations: 0.6037 MB / 1.232 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of Templates: time 0.004102/0.9154, allocations: 1.364 MB / 1.233 GB, free: 6.016 MB / 0.9512 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/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