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.001016/0.001016, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.009021/0.009021, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.521/1.521, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.06/3.06, allocations: 462.6 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004716, allocations: 11.22 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4031, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001204/0.4044, allocations: 436.4 kB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.4054, allocations: 0.8079 MB / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.4054, allocations: 0 / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.4054, allocations: 3.938 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.4055, allocations: 0 / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.102e-05/0.4056, allocations: 11.98 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.42e-05/0.4057, allocations: 43.8 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.4059, allocations: 15.98 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.929e-05/0.406, allocations: 15.98 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.406, allocations: 19.92 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.4061, allocations: 3.938 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.4061, allocations: 4 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.4061, allocations: 3.984 kB / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.4062, allocations: 37.64 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.4063, allocations: 47.73 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4063, allocations: 0 / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.043e-06/0.4063, allocations: 0 / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4063, allocations: 0 / 1.06 GB, free: 3.984 MB / 0.8106 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.0005984/0.4069, allocations: 367.6 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.407, allocations: 12.03 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.407, allocations: 4.922 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.4072, allocations: 180.2 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4072, allocations: 384 / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4073, allocations: 16.36 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.4076, allocations: 70.22 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4076, allocations: 4.188 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.4076, allocations: 7.938 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4076, allocations: 0 / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.408, allocations: 87.92 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.4084, allocations: 261 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.4087, allocations: 74.41 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.4088, allocations: 52.92 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.4089, allocations: 0 / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4089, allocations: 34.56 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.4089, allocations: 4 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006321/0.4095, allocations: 169.4 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4096, allocations: 51.41 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.4097, allocations: 105.8 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.4097, allocations: 25.7 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.4098, allocations: 92.14 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.4098, allocations: 7.891 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.4099, allocations: 9.719 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.41, allocations: 318.8 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.4102, allocations: 35.97 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.4103, allocations: 47.95 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.4106, allocations: 92.78 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4107, allocations: 3.938 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003452/0.411, allocations: 125.5 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.411, allocations: 4 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.411, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4111, allocations: 7.938 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.4112, allocations: 19.98 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4112, allocations: 0 / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.4113, allocations: 19.97 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.4113, allocations: 0 / 1.062 GB, free: 1.492 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.578e-05/0.4114, allocations: 123.3 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.4115, allocations: 3.938 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.4115, allocations: 11.91 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4115, allocations: 0 / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4115, allocations: 0 / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4115, allocations: 336 / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.4117, allocations: 169.6 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4117, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.667e-05/0.4118, allocations: 23.98 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4118, allocations: 0 / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4118, allocations: 7.984 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4118, allocations: 0 / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4118, allocations: 4 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.4122, allocations: 223.2 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.4123, allocations: 85.05 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.4123, allocations: 0 / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4124, allocations: 23.98 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.4125, allocations: 3.984 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.4125, allocations: 0 / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.735e-05/0.4125, allocations: 87.28 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4125, allocations: 0 / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002078/0.4127, allocations: 8 kB / 1.063 GB, free: 0.6367 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.000159/0.4129, allocations: 99.25 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.4133, allocations: 91.86 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4133, allocations: 4 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.4135, allocations: 43.95 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.4138, allocations: 13.66 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.4142, allocations: 144.4 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4145, allocations: 0.6809 MB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.707e-05/0.4145, allocations: 4 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.4146, allocations: 7.438 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.4146, allocations: 4 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.002982/0.4176, allocations: 0.5326 MB / 1.065 GB, free: 14.96 MB / 0.8262 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