Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.00126/0.00126, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 63.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183/1.185, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002411/1.187, allocations: 0.7097 MB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001248/1.188, allocations: 0.8351 MB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/1.189, allocations: 4 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.94e-05/1.189, allocations: 7.938 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.528e-05/1.189, allocations: 3.938 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/1.189, allocations: 19.92 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/1.189, allocations: 39.95 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/1.189, allocations: 15.98 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.87e-05/1.189, allocations: 27.86 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/1.189, allocations: 23.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/1.189, allocations: 7.938 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/1.189, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/1.189, allocations: 15.97 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/1.189, allocations: 15.88 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/1.19, allocations: 47.86 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.19, allocations: 0 / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.425e-06/1.19, allocations: 0 / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.722e-06/1.19, allocations: 0 / 1.21 GB, free: 11.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000605/1.19, allocations: 359.2 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/1.19, allocations: 8.031 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/1.19, allocations: 8.844 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/1.191, allocations: 164.4 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/1.191, allocations: 12.31 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/1.191, allocations: 4.125 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/1.191, allocations: 73.62 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.191, allocations: 0 / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/1.191, allocations: 0 / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.191, allocations: 4 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/1.191, allocations: 51.95 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/1.192, allocations: 286.5 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/1.192, allocations: 66.53 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/1.192, allocations: 36.92 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/1.192, allocations: 0 / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/1.192, allocations: 34.55 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/1.192, allocations: 0 / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004504/1.193, allocations: 113.5 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/1.193, allocations: 55.41 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/1.193, allocations: 109.8 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/1.193, allocations: 29.7 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/1.193, allocations: 88.11 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/1.193, allocations: 15.84 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/1.193, allocations: 17.7 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/1.193, allocations: 318.8 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/1.193, allocations: 27.97 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/1.193, allocations: 19.98 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/1.193, allocations: 56.81 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.193, allocations: 0 / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002477/1.194, allocations: 89.48 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.194, allocations: 4 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.194, allocations: 4 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.194, allocations: 0 / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/1.194, allocations: 15.98 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.194, allocations: 0 / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/1.194, allocations: 7.984 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/1.194, allocations: 0 / 1.212 GB, free: 9.613 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: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.68e-05/1.194, allocations: 117.8 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/1.194, allocations: 0 / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/1.194, allocations: 15.89 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.194, allocations: 4.328 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.194, allocations: 0 / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/1.194, allocations: 84.95 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/1.194, allocations: 7.938 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/1.194, allocations: 11.97 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/1.194, allocations: 11.98 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003275/1.195, allocations: 172.9 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003192/1.195, allocations: 250.8 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001211/1.195, allocations: 35.91 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.245e-05/1.195, allocations: 91.27 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of Backend: time 9.52e-07/1.195, allocations: 3.938 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004623/1.196, allocations: 110.3 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005905/1.196, allocations: 0.5688 MB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of Templates: time 0.003715/1.2, allocations: 0.9795 MB / 1.215 GB, free: 7.055 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches