Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_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_latest_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.001256/0.001261, allocations: 111.5 kB / 16.42 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.001252/0.001252, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.848/2.848, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 75.88 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.055, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.00258/1.058, allocations: 0.7039 MB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001284/1.059, allocations: 0.8 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/1.059, allocations: 4 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.377e-05/1.059, allocations: 3.938 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.387e-05/1.059, allocations: 7.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.281e-05/1.059, allocations: 7.984 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/1.059, allocations: 47.84 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/1.06, allocations: 11.98 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/1.06, allocations: 23.92 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/1.06, allocations: 19.91 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/1.06, allocations: 8 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/1.06, allocations: 4 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/1.06, allocations: 4 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/1.06, allocations: 27.8 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/1.06, allocations: 35.88 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/1.06, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/1.06, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.06, allocations: 0 / 1.21 GB, free: 11.94 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005991/1.061, allocations: 363.2 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.061, allocations: 11.97 kB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/1.061, allocations: 8.844 kB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/1.061, allocations: 174.2 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/1.061, allocations: 4.375 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/1.061, allocations: 384 / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/1.061, allocations: 70.22 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/1.061, allocations: 192 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/1.061, allocations: 7.938 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.061, allocations: 0 / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/1.062, allocations: 67.86 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/1.062, allocations: 260.9 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/1.062, allocations: 66.47 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/1.062, allocations: 40.92 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/1.062, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/1.062, allocations: 38.5 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.062, allocations: 0 / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005411/1.063, allocations: 129.6 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.063, allocations: 51.41 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/1.063, allocations: 105.8 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/1.063, allocations: 29.64 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/1.063, allocations: 92.05 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/1.063, allocations: 11.84 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/1.063, allocations: 21.7 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.063, allocations: 310.8 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/1.064, allocations: 27.97 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/1.064, allocations: 35.95 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/1.064, allocations: 72.72 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.064, allocations: 4 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003248/1.064, allocations: 93.84 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.064, allocations: 8 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.064, allocations: 4 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.064, allocations: 4.031 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/1.065, allocations: 15.98 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.065, allocations: 0 / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.194e-05/1.065, allocations: 19.97 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/1.065, allocations: 4 kB / 1.212 GB, free: 9.605 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: 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 9.48e-05/1.065, allocations: 113.7 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/1.065, allocations: 11.91 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/1.065, allocations: 7.906 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.065, allocations: 0 / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.065, allocations: 0 / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/1.065, allocations: 77.11 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/1.065, allocations: 7.938 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/1.065, allocations: 11.97 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/1.065, allocations: 11.94 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004125/1.066, allocations: 184.9 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004119/1.066, allocations: 274.6 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000153/1.066, allocations: 35.95 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.763e-05/1.066, allocations: 83.28 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of Backend: time 6.61e-07/1.066, allocations: 0 / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005596/1.067, allocations: 118.3 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006449/1.067, allocations: 0.5804 MB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of Templates: time 0.003553/1.071, allocations: 0.8518 MB / 1.215 GB, free: 7.145 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches