Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.00136/0.00136, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.471/1.471, 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 10.1.1-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.111, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002514/1.114, allocations: 0.7083 MB / 1.168 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001131/1.115, allocations: 0.804 MB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/1.115, allocations: 4 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/1.115, allocations: 3.938 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/1.115, allocations: 3.938 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.436e-05/1.115, allocations: 11.98 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/1.115, allocations: 47.84 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/1.115, allocations: 4 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.448e-05/1.115, allocations: 23.91 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/1.115, allocations: 23.91 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/1.115, allocations: 8 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/1.116, allocations: 4 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/1.116, allocations: 7.938 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/1.116, allocations: 19.92 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/1.116, allocations: 35.88 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.116, allocations: 3.938 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.733e-06/1.116, allocations: 0 / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.47e-06/1.116, allocations: 0 / 1.169 GB, free: 2.176 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005943/1.116, allocations: 371.8 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.116, allocations: 8.922 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/1.116, allocations: 12.88 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/1.117, allocations: 168.3 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/1.117, allocations: 4.375 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/1.117, allocations: 4.375 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/1.117, allocations: 66.22 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/1.117, allocations: 192 / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/1.117, allocations: 7.938 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.117, allocations: 4 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/1.117, allocations: 63.86 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/1.118, allocations: 272.9 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/1.118, allocations: 58.47 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/1.118, allocations: 44.92 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/1.118, allocations: 0 / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/1.118, allocations: 30.56 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.118, allocations: 0 / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0006253/1.119, allocations: 133.5 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/1.119, allocations: 51.41 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/1.119, allocations: 109.8 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/1.119, allocations: 25.7 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/1.119, allocations: 90.58 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/1.119, allocations: 19.83 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/1.119, allocations: 13.72 kB / 1.171 GB, free: 456 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002012/1.119, allocations: 314.8 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/1.12, allocations: 31.95 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/1.12, allocations: 28.16 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/1.12, allocations: 76.86 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.12, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00032/1.12, allocations: 101.5 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.12, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.12, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.12, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/1.121, allocations: 19.92 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.121, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/1.121, allocations: 15.97 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/1.121, allocations: 0 / 1.171 GB, free: 15.84 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 (3): * Single equations (assignments): 3 * 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.544e-05/1.121, allocations: 113.8 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/1.121, allocations: 7.953 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/1.121, allocations: 11.91 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.121, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.121, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/1.121, allocations: 77.11 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/1.121, allocations: 3.984 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/1.121, allocations: 11.98 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/1.121, allocations: 11.94 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003989/1.122, allocations: 188.8 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003984/1.122, allocations: 274.7 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001433/1.122, allocations: 31.95 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.83e-05/1.122, allocations: 87.28 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of Backend: time 7.61e-07/1.122, allocations: 0 / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005153/1.123, allocations: 118.2 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008096/1.124, allocations: 0.5828 MB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.003462/1.127, allocations: 0.8466 MB / 1.173 GB, free: 13.39 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches