Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001514/0.001514, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001792/0.001792, allocations: 192.9 kB / 16.13 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 63.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7331/0.7344, allocations: 140.4 MB / 0.9489 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001971/0.7365, allocations: 0.7612 MB / 0.9497 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.7373, allocations: 0.836 MB / 0.9505 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.7374, allocations: 1.25 kB / 0.9505 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.553e-05/0.7374, allocations: 3.938 kB / 0.9505 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.34e-05/0.7375, allocations: 5.391 kB / 0.9505 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.7376, allocations: 20.02 kB / 0.9505 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.388e-05/0.7377, allocations: 37.75 kB / 0.9506 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.7378, allocations: 18.86 kB / 0.9506 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.7379, allocations: 18.75 kB / 0.9506 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.738, allocations: 22.78 kB / 0.9506 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.738, allocations: 2.75 kB / 0.9506 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.738, allocations: 2.75 kB / 0.9506 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.738, allocations: 17.28 kB / 0.9506 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.7381, allocations: 10.69 kB / 0.9506 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.115e-05/0.7381, allocations: 51.98 kB / 0.9507 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7382, allocations: 4 kB / 0.9507 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.71e-07/0.7382, allocations: 0 / 0.9507 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.7382, allocations: 5.375 kB / 0.9507 GB, free: 8.016 MB / 0.7169 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.0004305/0.7386, allocations: 351.3 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7387, allocations: 9.625 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.7387, allocations: 2.312 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.7388, allocations: 175 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.7388, allocations: 7.125 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.7388, allocations: 1.75 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.739, allocations: 76.97 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7391, allocations: 3.984 kB / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.7391, allocations: 0 / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.7391, allocations: 1.375 kB / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.7393, allocations: 46.08 kB / 0.9513 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.7396, allocations: 282.8 kB / 0.9516 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.7398, allocations: 74.05 kB / 0.9517 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.74, allocations: 32.02 kB / 0.9517 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.74, allocations: 1.375 kB / 0.9517 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.74, allocations: 30.56 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.74, allocations: 5.375 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003904/0.7404, allocations: 116.6 kB / 0.9519 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.7404, allocations: 56.53 kB / 0.9519 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.681e-05/0.7405, allocations: 107 kB / 0.952 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.7405, allocations: 25.7 kB / 0.952 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.7405, allocations: 89.78 kB / 0.9521 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.7406, allocations: 13.47 kB / 0.9521 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.7406, allocations: 26.67 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.7407, allocations: 320.4 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.7408, allocations: 24.28 kB / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.7409, allocations: 19.8 kB / 0.9525 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.741, allocations: 50.91 kB / 0.9526 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.7411, allocations: 9.219 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002249/0.7413, allocations: 88.36 kB / 0.9527 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.7413, allocations: 5.219 kB / 0.9527 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7413, allocations: 1.031 kB / 0.9527 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.7413, allocations: 0 / 0.9527 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.7415, allocations: 13.45 kB / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.7415, allocations: 0 / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.7416, allocations: 7.984 kB / 0.9527 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.7416, allocations: 5.188 kB / 0.9527 GB, free: 6.066 MB / 0.7169 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 5.231e-05/0.7416, allocations: 116.1 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.7417, allocations: 10 kB / 0.9528 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.7417, allocations: 8.844 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.7417, allocations: 5.312 kB / 0.9528 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7417, allocations: 3.984 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.7417, allocations: 1.062 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.7418, allocations: 170.9 kB / 0.953 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7418, allocations: 1.344 kB / 0.953 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.595e-05/0.742, allocations: 16.3 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.742, allocations: 0 / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.742, allocations: 5.703 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.742, allocations: 0 / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.742, allocations: 0 / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.7423, allocations: 185.1 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.7423, allocations: 86.36 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.7423, allocations: 4 kB / 0.9533 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/0.7424, allocations: 8.172 kB / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.7425, allocations: 8.234 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.7425, allocations: 1.219 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.91e-05/0.7425, allocations: 89.55 kB / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7425, allocations: 0 / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002244/0.7427, allocations: 5.812 kB / 0.9534 GB, free: 5.34 MB / 0.7169 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 9.688e-05/0.7429, allocations: 113.4 kB / 0.9535 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.7431, allocations: 54.28 kB / 0.9535 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7431, allocations: 0.7188 kB / 0.9535 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.7432, allocations: 30.84 kB / 0.9536 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.7435, allocations: 6.688 kB / 0.9536 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.7439, allocations: 144.8 kB / 0.9537 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.744, allocations: 0.685 MB / 0.9544 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.673e-05/0.7441, allocations: 2.531 kB / 0.9544 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.7441, allocations: 14.89 kB / 0.9544 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7441, allocations: 4 kB / 0.9544 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of Templates: time 0.002872/0.747, allocations: 0.7625 MB / 0.9551 GB, free: 3.945 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches