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.002012/0.002013, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002096/0.002096, allocations: 190.3 kB / 16.25 MB, free: 6.621 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.59/1.59, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.091/3.091, allocations: 472.7 MB / 0.7449 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 71.95 kB / 0.9116 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4272, allocations: 159.9 MB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002443/0.4297, allocations: 0.7321 MB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.4306, allocations: 0.7846 MB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.4307, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.4307, allocations: 3.938 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.856e-05/0.4308, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.537e-05/0.4308, allocations: 8 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.656e-05/0.4309, allocations: 27.92 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.431, allocations: 4 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.4311, allocations: 19.91 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.4311, allocations: 15.92 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.4312, allocations: 3.938 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-06/0.4312, allocations: 4 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.4312, allocations: 4 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.4312, allocations: 3.938 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.992e-05/0.4313, allocations: 23.97 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4313, allocations: 7.938 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.176e-06/0.4313, allocations: 7.984 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4313, allocations: 0 / 1.069 GB, free: 9.004 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.0004941/0.4318, allocations: 339.7 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4319, allocations: 12.03 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.4319, allocations: 0.9375 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.4321, allocations: 160.4 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4321, allocations: 8.312 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.4321, allocations: 384 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.4323, allocations: 54.23 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4323, allocations: 192 / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4323, allocations: 3.938 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4323, allocations: 0 / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.4325, allocations: 31.97 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.433, allocations: 248.9 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4332, allocations: 46.44 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.25e-05/0.4333, allocations: 28.89 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.4333, allocations: 0 / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4333, allocations: 30.56 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.615e-06/0.4333, allocations: 8 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003394/0.4337, allocations: 77.64 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.4338, allocations: 55.34 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.4338, allocations: 101.9 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.4339, allocations: 25.7 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.4339, allocations: 84.14 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.434, allocations: 16 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.434, allocations: 13.72 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4341, allocations: 314.8 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.4342, allocations: 15.98 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.4343, allocations: 15.97 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.4344, allocations: 44.89 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4344, allocations: 0 / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002581/0.4347, allocations: 69.84 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.4347, allocations: 7.938 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4347, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.4347, allocations: 3.938 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.4348, allocations: 12 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4348, allocations: 3.938 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.4349, allocations: 12.02 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.4349, allocations: 0 / 1.071 GB, free: 6.969 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 6.704e-05/0.435, allocations: 115.5 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.435, allocations: 7.906 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.435, allocations: 7.109 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.435, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.435, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.435, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.4352, allocations: 161.6 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4352, allocations: 7.984 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.4353, allocations: 7.984 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.4353, allocations: 0 / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.4353, allocations: 0 / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4353, allocations: 0 / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4353, allocations: 4 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.4355, allocations: 171.4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.4356, allocations: 77.11 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.4356, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.4357, allocations: 7.984 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.4357, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.4357, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.082e-05/0.4357, allocations: 87.27 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4357, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002007/0.436, allocations: 7.938 kB / 1.072 GB, free: 6.227 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.0001424/0.4361, allocations: 103.3 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.4363, allocations: 35.97 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4363, allocations: 4 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.4364, allocations: 19.91 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.4367, allocations: 13.78 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.437, allocations: 121.4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4373, allocations: 0.6768 MB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.388e-05/0.4373, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.4373, allocations: 11.44 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4373, allocations: 3.938 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.002529/0.4399, allocations: 387.1 kB / 1.073 GB, free: 4.805 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