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.001947/0.001947, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.002301/0.002301, allocations: 183 kB / 17.34 MB, free: 5.738 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.552/1.552, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.712/2.712, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8881/0.8896, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.00207/0.8918, allocations: 0.7038 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.8929, allocations: 0.8001 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.8929, allocations: 0 / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.759e-05/0.893, allocations: 7.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.624e-05/0.8932, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.8933, allocations: 7.984 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.8934, allocations: 43.91 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.8936, allocations: 20 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.8937, allocations: 19.86 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.8938, allocations: 19.86 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.8938, allocations: 4 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.8938, allocations: 4 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.8939, allocations: 15.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.8939, allocations: 15.92 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.894, allocations: 39.86 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8941, allocations: 0 / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.927e-06/0.8941, allocations: 4 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8941, allocations: 7.938 kB / 1.21 GB, free: 11.92 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.0005723/0.8947, allocations: 359.2 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.8947, allocations: 8.031 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.8947, allocations: 8.844 kB / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.8949, allocations: 170.2 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.8949, allocations: 384 / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.8949, allocations: 4.375 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.8952, allocations: 74.16 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.8952, allocations: 3.938 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.8952, allocations: 4 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.8952, allocations: 0 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.8955, allocations: 63.92 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.8959, allocations: 276.8 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.8961, allocations: 50.48 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.8963, allocations: 48.91 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.8963, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.8963, allocations: 34.56 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.8963, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005398/0.8968, allocations: 125.6 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.8969, allocations: 51.41 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.897, allocations: 117.8 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.897, allocations: 29.7 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.8971, allocations: 84.05 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.8971, allocations: 19.83 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.8971, allocations: 9.719 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8973, allocations: 322.8 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.8975, allocations: 31.97 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.8976, allocations: 27.95 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.8979, allocations: 69.02 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8979, allocations: 0 / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003435/0.8982, allocations: 109.6 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8983, allocations: 4 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.8983, allocations: 0 / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.8983, allocations: 0 / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.8984, allocations: 23.86 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8984, allocations: 0 / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.651e-05/0.8985, allocations: 15.92 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.8986, allocations: 4 kB / 1.212 GB, free: 9.594 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 8.162e-05/0.8986, allocations: 117.8 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.8987, allocations: 7.891 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.8987, allocations: 3.906 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.8987, allocations: 4 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8987, allocations: 0 / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.8987, allocations: 0 / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.8989, allocations: 169.6 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8989, allocations: 0 / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.899, allocations: 19.97 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.899, allocations: 4 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.899, allocations: 0 / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8991, allocations: 320 / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8991, allocations: 0 / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.8994, allocations: 199.4 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.8995, allocations: 81.02 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.8995, allocations: 7.984 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.8996, allocations: 11.98 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.8997, allocations: 4 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.8997, allocations: 4 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.702e-05/0.8998, allocations: 91.25 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8998, allocations: 0 / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002447/0.9, allocations: 12 kB / 1.213 GB, free: 8.766 MB / 0.9356 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 (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 Backend phase and start with SimCode phase: time 0.0001809/0.9002, allocations: 99.25 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.9006, allocations: 63.92 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9006, allocations: 0 / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.9008, allocations: 43.89 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.9011, allocations: 9.812 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.9015, allocations: 155.2 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.9018, allocations: 0.6846 MB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.9019, allocations: 11.44 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.9019, allocations: 0 / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of Templates: time 0.002376/0.9042, allocations: 0.7425 MB / 1.215 GB, free: 6.902 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