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.00705/0.00705, allocations: 100 kB / 15.73 MB, free: 6.047 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.001174/0.001174, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.568/1.568, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.006/3.006, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.91 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.389, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002499/0.3915, allocations: 0.7078 MB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3928, allocations: 0.8 MB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.3929, allocations: 0 / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.3929, allocations: 0 / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.716e-05/0.393, allocations: 7.875 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.873e-05/0.3931, allocations: 15.98 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.553e-05/0.3932, allocations: 43.84 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3933, allocations: 12 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.3934, allocations: 15.98 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.3935, allocations: 19.92 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3935, allocations: 4 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-06/0.3935, allocations: 7.938 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.3936, allocations: 7.984 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.3936, allocations: 11.94 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.3937, allocations: 43.8 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.3937, allocations: 3.984 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3937, allocations: 0 / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.3937, allocations: 4 kB / 1.209 GB, free: 7.895 MB / 0.9669 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.0006018/0.3944, allocations: 367.3 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.3944, allocations: 8.625 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.3945, allocations: 8.844 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3946, allocations: 168.2 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.3946, allocations: 4.375 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.3947, allocations: 384 / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.3949, allocations: 74.2 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.395, allocations: 12.17 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.395, allocations: 3.938 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.395, allocations: 0 / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.3953, allocations: 63.92 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.3957, allocations: 264.9 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.3959, allocations: 58.47 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.3961, allocations: 48.84 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3961, allocations: 0 / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3961, allocations: 34.56 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3961, allocations: 0 / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005477/0.3967, allocations: 125.5 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3967, allocations: 59.39 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.3968, allocations: 109.9 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3968, allocations: 29.69 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.3969, allocations: 88.05 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.3969, allocations: 7.906 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.397, allocations: 13.72 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3971, allocations: 318.8 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3972, allocations: 27.97 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.3974, allocations: 35.97 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.3977, allocations: 64.78 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.3977, allocations: 11.81 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003215/0.398, allocations: 97.62 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.398, allocations: 11.98 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.398, allocations: 0 / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3981, allocations: 0 / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3982, allocations: 11.98 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3982, allocations: 4 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.3983, allocations: 11.89 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3983, allocations: 4 kB / 1.212 GB, free: 5.562 MB / 0.9669 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.298e-05/0.3984, allocations: 117.8 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.3984, allocations: 4 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.3985, allocations: 7.891 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3985, allocations: 0 / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3985, allocations: 0 / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3985, allocations: 0 / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.3987, allocations: 173.6 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3987, allocations: 0 / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3988, allocations: 24.25 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3988, allocations: 3.984 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3988, allocations: 0 / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3988, allocations: 0 / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3989, allocations: 0 / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.3992, allocations: 203.3 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.3993, allocations: 85.05 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.3993, allocations: 0 / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3994, allocations: 19.97 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.3995, allocations: 4 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.3995, allocations: 3.938 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.779e-05/0.3996, allocations: 91.27 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3996, allocations: 0 / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002128/0.3998, allocations: 8 kB / 1.212 GB, free: 4.73 MB / 0.9669 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.0001552/0.3999, allocations: 103.2 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.4003, allocations: 67.92 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4003, allocations: 0 / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.4005, allocations: 39.95 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.4008, allocations: 15.88 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.4012, allocations: 133.2 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.4015, allocations: 0.6768 MB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.4015, allocations: 4 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.4016, allocations: 15.36 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.4016, allocations: 4 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of Templates: time 0.002854/0.4044, allocations: 0.6971 MB / 1.214 GB, free: 2.926 MB / 0.9669 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/jenkins/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