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.00161/0.00161, allocations: 118.5 kB / 16.37 MB, free: 6.004 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.0017/0.001701, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.644/1.644, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.628/2.628, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 72.17 kB / 0.8774 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3338, allocations: 153 MB / 1.027 GB, free: 2 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002251/0.3361, allocations: 0.6866 MB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.337, allocations: 0.7947 MB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.337, allocations: 0 / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.3371, allocations: 3.938 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.3372, allocations: 3.938 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.122e-05/0.3372, allocations: 8 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.271e-05/0.3373, allocations: 23.92 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3374, allocations: 8 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/0.3375, allocations: 15.97 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.3376, allocations: 11.92 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3376, allocations: 4 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-06/0.3376, allocations: 0 / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.3376, allocations: 4 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.3377, allocations: 7.938 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.669e-05/0.3378, allocations: 27.83 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3378, allocations: 0 / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of FrontEnd: time 3.296e-06/0.3378, allocations: 4 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3378, allocations: 0 / 1.028 GB, free: 400 kB / 0.795 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.0004812/0.3383, allocations: 339.5 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.3383, allocations: 8.031 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.3384, allocations: 9.016 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.3385, allocations: 160.4 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3386, allocations: 384 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.3386, allocations: 12.36 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.3388, allocations: 50.23 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3388, allocations: 192 / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3389, allocations: 7.938 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3389, allocations: 0 / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.339, allocations: 39.89 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.3394, allocations: 241 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.3396, allocations: 42.5 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.444e-05/0.3397, allocations: 28.89 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.3397, allocations: 3.938 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3397, allocations: 34.5 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3397, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000357/0.3401, allocations: 93.58 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3402, allocations: 51.41 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.3403, allocations: 105.9 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.3403, allocations: 25.7 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.3403, allocations: 88.11 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.3404, allocations: 7.906 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.3404, allocations: 13.72 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3406, allocations: 310.8 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.032e-05/0.3407, allocations: 24.02 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.3407, allocations: 15.97 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3409, allocations: 40.77 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3409, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001863/0.3411, allocations: 77.66 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3411, allocations: 4 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3411, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3411, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3412, allocations: 11.98 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3413, allocations: 0 / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.3413, allocations: 4 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3413, allocations: 0 / 1.03 GB, free: 14.35 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/0.3414, allocations: 117.8 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.3414, allocations: 4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.3415, allocations: 11.11 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3415, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3415, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3415, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.3417, allocations: 157.6 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3417, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.3418, allocations: 15.92 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3418, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3418, allocations: 4 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3418, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3418, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3421, allocations: 171.3 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.3421, allocations: 81.11 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3421, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.3422, allocations: 12.02 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.3423, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3423, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.049e-05/0.3423, allocations: 95.45 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3424, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002237/0.3426, allocations: 7.938 kB / 1.031 GB, free: 13.59 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 (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.0001364/0.3427, allocations: 99.25 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.3429, allocations: 43.89 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3429, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.343, allocations: 19.98 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.3433, allocations: 7.938 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.3436, allocations: 101.6 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3439, allocations: 0.6808 MB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.3439, allocations: 3.906 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.3439, allocations: 11.44 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.344, allocations: 0 / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of Templates: time 0.002426/0.3464, allocations: 441 kB / 1.032 GB, free: 12.13 MB / 0.8106 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 -s cvode -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/jenkins1/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