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.0008848/0.0008848, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 186.5 kB / 16.92 MB, free: 6.688 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.788/2.788, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 12.22 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3208, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.0009511/0.3218, allocations: 428.5 kB / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.3227, allocations: 0.8079 MB / 1.061 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.3228, allocations: 3.938 kB / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.3228, allocations: 3.984 kB / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.3229, allocations: 7.938 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.253e-05/0.323, allocations: 7.984 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.3231, allocations: 35.92 kB / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3232, allocations: 19.92 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.3233, allocations: 19.92 kB / 1.061 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.3233, allocations: 19.86 kB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3234, allocations: 0 / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-06/0.3234, allocations: 4 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.3234, allocations: 3.984 kB / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.3235, allocations: 41.58 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.449e-05/0.3235, allocations: 31.92 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3235, allocations: 4 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3235, allocations: 4 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3236, allocations: 0 / 1.061 GB, free: 3.504 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.0004972/0.3241, allocations: 363.6 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3241, allocations: 15.97 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.3241, allocations: 4.938 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3243, allocations: 176.2 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3243, allocations: 384 / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.3243, allocations: 4.375 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.3246, allocations: 86.19 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3246, allocations: 4.188 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3246, allocations: 3.938 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3246, allocations: 4 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.3249, allocations: 87.86 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.3253, allocations: 261 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.3255, allocations: 70.47 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3257, allocations: 56.91 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.3257, allocations: 4 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3258, allocations: 34.5 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.3258, allocations: 0 / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005499/0.3263, allocations: 157.5 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3264, allocations: 63.39 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.3265, allocations: 105.9 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.3265, allocations: 25.7 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.3265, allocations: 92.06 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.3265, allocations: 7.906 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.3266, allocations: 9.719 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.3267, allocations: 314.8 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3268, allocations: 43.97 kB / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.327, allocations: 39.97 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.3273, allocations: 96.72 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3273, allocations: 7.938 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003356/0.3276, allocations: 117.5 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3277, allocations: 8 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3277, allocations: 4.25 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3277, allocations: 0 / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3278, allocations: 27.97 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3278, allocations: 0 / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.404e-05/0.3279, allocations: 19.98 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.328, allocations: 3.984 kB / 1.063 GB, free: 1.004 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 7.971e-05/0.328, allocations: 117.7 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.3281, allocations: 0 / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.3281, allocations: 11.89 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3281, allocations: 4 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3281, allocations: 0 / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3281, allocations: 0 / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.3283, allocations: 173.6 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3283, allocations: 336 / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-05/0.3284, allocations: 19.98 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3284, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.3284, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3284, allocations: 3.984 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3284, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.3288, allocations: 227.3 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.3289, allocations: 81.05 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.3289, allocations: 4 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.329, allocations: 11.98 kB / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.3291, allocations: 11.92 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.3291, allocations: 4 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.66e-05/0.3291, allocations: 91.27 kB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3291, allocations: 7.938 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002166/0.3293, allocations: 4 kB / 1.064 GB, free: 152 kB / 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.0001536/0.3295, allocations: 99.25 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003698/0.3299, allocations: 87.92 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3299, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.3301, allocations: 51.97 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3304, allocations: 13.48 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.3307, allocations: 168.8 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.331, allocations: 0.6848 MB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.331, allocations: 11.44 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.331, allocations: 0 / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.001998/0.333, allocations: 0.7269 MB / 1.065 GB, free: 14.25 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/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