Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001818/0.001818, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.912/2.912, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004544, allocations: 13.53 kB / 0.9022 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3888, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001187/0.3901, allocations: 392.7 kB / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3912, allocations: 0.7845 MB / 1.059 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.3913, allocations: 0 / 1.059 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.3913, allocations: 3.938 kB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.014e-05/0.3914, allocations: 0 / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.871e-05/0.3915, allocations: 8 kB / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.72e-05/0.3916, allocations: 19.92 kB / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3917, allocations: 7.984 kB / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.3918, allocations: 11.92 kB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.3918, allocations: 12 kB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3918, allocations: 0 / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.3919, allocations: 7.938 kB / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.3919, allocations: 7.922 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.3919, allocations: 25.7 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.05e-05/0.392, allocations: 15.97 kB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.392, allocations: 0 / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.514e-06/0.392, allocations: 0 / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.392, allocations: 0 / 1.059 GB, free: 4.062 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004664/0.3925, allocations: 343.5 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3925, allocations: 12.03 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3926, allocations: 3.906 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3927, allocations: 159.1 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3928, allocations: 4 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.3928, allocations: 11.94 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.393, allocations: 57.69 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.393, allocations: 0 / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.393, allocations: 3.938 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.393, allocations: 0 / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3932, allocations: 43.95 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.3936, allocations: 252.9 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.3938, allocations: 42.59 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.3939, allocations: 32.91 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.3939, allocations: 0 / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.394, allocations: 38.5 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.394, allocations: 3.938 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003749/0.3943, allocations: 97.64 kB / 1.06 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3944, allocations: 51.41 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.3945, allocations: 105.8 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3945, allocations: 25.7 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.3946, allocations: 80.14 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3946, allocations: 4.031 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.3946, allocations: 4 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3947, allocations: 318.8 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.3948, allocations: 19.97 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.3949, allocations: 23.98 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.599e-05/0.395, allocations: 27.94 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.395, allocations: 0 / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.3952, allocations: 85.66 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3952, allocations: 4 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3952, allocations: 0 / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3953, allocations: 0 / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.3953, allocations: 11.98 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3954, allocations: 0 / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.3954, allocations: 15.84 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3954, allocations: 0 / 1.061 GB, free: 2 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.766e-05/0.3955, allocations: 117.8 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.3956, allocations: 3.984 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.3956, allocations: 7.125 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3956, allocations: 3.984 kB / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3956, allocations: 0 / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3956, allocations: 0 / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.3958, allocations: 161.7 kB / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3958, allocations: 4.203 kB / 1.061 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.3959, allocations: 19.92 kB / 1.061 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3959, allocations: 4 kB / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3959, allocations: 0 / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3959, allocations: 0 / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3959, allocations: 0 / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.3961, allocations: 175.5 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.3962, allocations: 85 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.3962, allocations: 0 / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.3963, allocations: 11.98 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.3963, allocations: 0 / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.3963, allocations: 0 / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.445e-05/0.3964, allocations: 87.27 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3964, allocations: 4.031 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002112/0.3966, allocations: 11.84 kB / 1.062 GB, free: 1.227 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.3968, allocations: 99.25 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.397, allocations: 51.89 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.397, allocations: 0 / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.3971, allocations: 27.98 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3974, allocations: 0 / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.3977, allocations: 108.8 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.398, allocations: 0.677 MB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.398, allocations: 0 / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.398, allocations: 11.44 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.3981, allocations: 0 / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of Templates: time 0.002609/0.4007, allocations: 360.8 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches