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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00186/0.00186, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001755/0.001755, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.526/1.526, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 64.44 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3889, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002466/0.3914, allocations: 0.7024 MB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3927, allocations: 0.8142 MB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.3927, allocations: 0 / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.336e-05/0.3928, allocations: 3.938 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.561e-05/0.3929, allocations: 7.922 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 8.533e-05/0.393, allocations: 11.98 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.3931, allocations: 47.84 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.3933, allocations: 11.98 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.3934, allocations: 15.92 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.3935, allocations: 27.92 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.3935, allocations: 4 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.3935, allocations: 4 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.3935, allocations: 7.984 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.3936, allocations: 15.88 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.3937, allocations: 43.8 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3937, allocations: 0 / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.756e-06/0.3937, allocations: 0 / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3937, allocations: 0 / 1.028 GB, free: 316 kB / 0.795 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.0006719/0.3944, allocations: 367.4 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3945, allocations: 8.031 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.3945, allocations: 8.844 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3947, allocations: 164.3 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3947, allocations: 4.375 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.3947, allocations: 384 / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.395, allocations: 70.2 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.395, allocations: 4.188 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.395, allocations: 3.938 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.395, allocations: 4 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.3953, allocations: 63.88 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.3957, allocations: 264.9 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.3959, allocations: 70.41 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.3961, allocations: 36.92 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3961, allocations: 7.969 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3962, allocations: 34.5 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3962, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005043/0.3967, allocations: 125.6 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3967, allocations: 51.41 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.3969, allocations: 117.8 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3969, allocations: 25.7 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.3969, allocations: 92.06 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.397, allocations: 15.81 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.397, allocations: 9.719 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3972, allocations: 318.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.3973, allocations: 31.95 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.3974, allocations: 31.97 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.3977, allocations: 76.72 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3977, allocations: 3.938 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002721/0.398, allocations: 93.62 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.398, allocations: 8 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.398, allocations: 4 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.398, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3981, allocations: 15.97 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3982, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.082e-05/0.3982, allocations: 11.98 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.3982, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 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.051e-05/0.3983, allocations: 125.7 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.3984, allocations: 7.906 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.3984, allocations: 7.906 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.3984, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3984, allocations: 3.984 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3984, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.3986, allocations: 169.6 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3986, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.3987, allocations: 15.98 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3987, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3987, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3987, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3987, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.3991, allocations: 195.4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.3992, allocations: 88.95 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3992, allocations: 4 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.3993, allocations: 7.984 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.3993, allocations: 19.86 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3993, allocations: 0 / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.3994, allocations: 91.27 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3994, allocations: 3.938 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002096/0.3996, allocations: 4 kB / 1.031 GB, free: 13.15 MB / 0.8106 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.0001647/0.3998, allocations: 107.2 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.4001, allocations: 64.3 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4001, allocations: 4 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.4003, allocations: 32.06 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.4006, allocations: 19.92 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.401, allocations: 129.5 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.4016, allocations: 0.6807 MB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.4017, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.4017, allocations: 11.44 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of SimCode: time 9.02e-07/0.4017, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of Templates: time 0.002989/0.4047, allocations: 0.6727 MB / 1.033 GB, free: 11.37 MB / 0.8106 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 -s cvode -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