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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001345/0.001345, allocations: 108 kB / 15.6 MB, free: 132 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.001569/0.001569, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.553/1.553, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.07/3.07, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.44 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4411, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002498/0.4437, allocations: 0.6751 MB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.4449, allocations: 0.7923 MB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.445, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.026e-05/0.445, allocations: 3.938 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.4451, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.547e-05/0.4452, allocations: 8 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.581e-05/0.4453, allocations: 27.92 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.4454, allocations: 4 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.4455, allocations: 11.92 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.4456, allocations: 19.91 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.4456, allocations: 4 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/0.4456, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.4456, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.4457, allocations: 11.94 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.4458, allocations: 31.89 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4458, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.478e-06/0.4458, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.4458, allocations: 7.875 kB / 1.07 GB, free: 8.77 MB / 0.8262 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.0006154/0.4464, allocations: 339.7 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.4465, allocations: 8.031 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.4466, allocations: 0.9375 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.4467, allocations: 164.4 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.4467, allocations: 384 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.4468, allocations: 8.375 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.447, allocations: 48.41 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.447, allocations: 192 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.447, allocations: 7.938 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.447, allocations: 4 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.4472, allocations: 31.95 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.4477, allocations: 252.8 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.4478, allocations: 42.5 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.448, allocations: 28.89 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.448, allocations: 0 / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.448, allocations: 34.56 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.448, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004054/0.4484, allocations: 85.58 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.4485, allocations: 51.41 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4486, allocations: 101.9 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.4486, allocations: 25.7 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.4487, allocations: 88.25 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.4487, allocations: 3.906 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.4487, allocations: 17.72 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4489, allocations: 310.8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.449, allocations: 15.98 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.773e-05/0.4491, allocations: 19.97 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.4492, allocations: 36.89 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4492, allocations: 4 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.4494, allocations: 77.47 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4495, allocations: 8 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4495, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4495, allocations: 256 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.4496, allocations: 7.984 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4496, allocations: 8.031 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.4497, allocations: 4 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.4497, allocations: 4 kB / 1.072 GB, free: 6.742 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.174e-05/0.4498, allocations: 110.3 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.4498, allocations: 3.906 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.4498, allocations: 15.11 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4498, allocations: 0 / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4499, allocations: 3.938 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4499, allocations: 4 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.45, allocations: 161.6 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4501, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.4501, allocations: 11.98 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4501, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.4501, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4501, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4502, allocations: 11.91 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.4504, allocations: 167.5 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.4505, allocations: 77.11 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.4505, allocations: 4 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.4506, allocations: 3.984 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.4506, allocations: 4 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.4506, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.4507, allocations: 87.27 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4507, allocations: 4.031 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002122/0.4509, allocations: 7.938 kB / 1.072 GB, free: 5.984 MB / 0.8262 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 (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.0001833/0.4511, allocations: 99.25 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.4514, allocations: 39.89 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4514, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.4515, allocations: 24.05 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.4518, allocations: 7.938 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.4522, allocations: 113.4 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.4526, allocations: 0.6806 MB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.4526, allocations: 0 / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.4526, allocations: 7.438 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.4526, allocations: 4.062 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of Templates: time 0.002952/0.4556, allocations: 437.3 kB / 1.074 GB, free: 4.527 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