Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009988/0.0009985, allocations: 92.08 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.001152/0.001152, allocations: 174.8 kB / 16.92 MB, free: 6.652 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.453/1.453, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003135, allocations: 11.73 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2951, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.0009948/0.2962, allocations: 443.5 kB / 1.06 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2975, allocations: 0.8273 MB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.2975, allocations: 0 / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.2976, allocations: 3.938 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.2977, allocations: 7.984 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.2978, allocations: 23.98 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.063e-05/0.2979, allocations: 47.84 kB / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.298, allocations: 8 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.2981, allocations: 15.92 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.2982, allocations: 27.84 kB / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2982, allocations: 0 / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.2983, allocations: 4 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.2983, allocations: 11.98 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.2984, allocations: 41.58 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.477e-05/0.2984, allocations: 31.91 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2984, allocations: 0 / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2985, allocations: 7.938 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2985, allocations: 0 / 1.061 GB, free: 3.438 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00054/0.299, allocations: 359.6 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2991, allocations: 12.03 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.2991, allocations: 0.9375 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2993, allocations: 168.3 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.2993, allocations: 4.375 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2993, allocations: 384 / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2995, allocations: 73.78 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2996, allocations: 3.938 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2996, allocations: 4 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2996, allocations: 4 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.2998, allocations: 59.94 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.3003, allocations: 300.8 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3005, allocations: 66.48 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3006, allocations: 40.91 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.3006, allocations: 4 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3007, allocations: 34.56 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3007, allocations: 0 / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004281/0.3011, allocations: 129.5 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.3011, allocations: 55.39 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.3012, allocations: 105.9 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.3013, allocations: 29.69 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.3013, allocations: 96.02 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.3013, allocations: 7.812 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.3014, allocations: 13.72 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3015, allocations: 326.8 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.3016, allocations: 23.98 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3017, allocations: 31.97 kB / 1.063 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.3019, allocations: 68.81 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3019, allocations: 0 / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002552/0.3022, allocations: 89.66 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3022, allocations: 4 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3022, allocations: 4 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3022, allocations: 3.984 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3024, allocations: 15.92 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3024, allocations: 4.312 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.24e-05/0.3025, allocations: 4 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3025, allocations: 8 kB / 1.063 GB, free: 1.102 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: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.422e-05/0.3026, allocations: 117.8 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.3026, allocations: 7.906 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.3026, allocations: 7.906 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3026, allocations: 3.938 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3027, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3027, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3028, allocations: 181.5 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3029, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.723e-05/0.303, allocations: 19.98 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.303, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.303, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.303, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.303, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3033, allocations: 203.4 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.3034, allocations: 81.02 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.3034, allocations: 4 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.3035, allocations: 7.984 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.3036, allocations: 11.98 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3036, allocations: 3.938 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.445e-05/0.3036, allocations: 91.25 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3036, allocations: 4 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002198/0.3038, allocations: 12 kB / 1.064 GB, free: 268 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000125/0.304, allocations: 99.56 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.3042, allocations: 71.92 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3043, allocations: 0 / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3044, allocations: 39.92 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.3047, allocations: 1.25 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.305, allocations: 170.4 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3053, allocations: 0.677 MB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.3053, allocations: 11.44 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3053, allocations: 0 / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of Templates: time 0.001996/0.3073, allocations: 0.8031 MB / 1.065 GB, free: 14.33 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches