Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 83.69 kB / 20.23 MB, free: 4.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.145/3.145, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.51e-05, allocations: 4.844 kB / 0.8109 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001876/0.001911, allocations: 0.6849 MB / 0.8115 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.003082, allocations: 0.8131 MB / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.003114, allocations: 0 / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.003138, allocations: 7.922 kB / 0.8123 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.0032, allocations: 0.6562 kB / 0.8123 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.014e-05/0.00325, allocations: 4.594 kB / 0.8123 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.446e-05/0.003324, allocations: 27.92 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.168e-05/0.003406, allocations: 1.125 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.185e-05/0.003488, allocations: 19.92 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.657e-05/0.003524, allocations: 11.97 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.003543, allocations: 4.875 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-06/0.003549, allocations: 0 / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.003566, allocations: 5.219 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.003586, allocations: 4 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.568e-05/0.003672, allocations: 27.89 kB / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003674, allocations: 1.438 kB / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003674, allocations: 0 / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.003678, allocations: 0 / 0.8124 GB, free: 428 kB / 0.7605 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.000506/0.004184, allocations: 360.3 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.004219, allocations: 13.5 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.004254, allocations: 0.9375 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.004398, allocations: 116.5 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.004412, allocations: 4.375 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.004422, allocations: 6.25 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.004568, allocations: 42.25 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.004576, allocations: 192 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.004584, allocations: 384 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.00459, allocations: 4.359 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.004709, allocations: 29.3 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.005073, allocations: 251.7 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.005192, allocations: 44.44 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.945e-05/0.005262, allocations: 19.73 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.005275, allocations: 0.5938 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.005315, allocations: 41.39 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.005316, allocations: 0.625 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000275/0.005591, allocations: 71.52 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.005635, allocations: 51.41 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.005776, allocations: 165.9 kB / 0.8136 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.005799, allocations: 29.69 kB / 0.8136 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.005877, allocations: 127.4 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.005893, allocations: 4.672 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.005934, allocations: 23.38 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002647/0.006199, allocations: 497.5 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.727e-05/0.006256, allocations: 11.98 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.0063, allocations: 11.94 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.763e-05/0.006397, allocations: 29.39 kB / 0.8143 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006399, allocations: 4 kB / 0.8143 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001514/0.00655, allocations: 62.36 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.006564, allocations: 6.5 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.006571, allocations: 4.656 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.006591, allocations: 5.281 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.006661, allocations: 4 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.006665, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.006697, allocations: 3.984 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.006701, allocations: 4.812 kB / 0.8144 GB, free: 14.22 MB / 0.7761 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 0.0001175/0.006819, allocations: 153.5 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.006846, allocations: 8.203 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.006869, allocations: 11.25 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.00687, allocations: 1.344 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.006875, allocations: 4 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.006877, allocations: 0 / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.007043, allocations: 125.6 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007043, allocations: 0 / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.007085, allocations: 4 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.007086, allocations: 2.312 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.007092, allocations: 0 / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.007099, allocations: 7.875 kB / 0.8147 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.0071, allocations: 0 / 0.8147 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.007339, allocations: 199.9 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-06/0.007348, allocations: 7.438 kB / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.007358, allocations: 0 / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.007423, allocations: 11.94 kB / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.007458, allocations: 3.984 kB / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.007461, allocations: 0 / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.017e-05/0.007541, allocations: 123.2 kB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007541, allocations: 0 / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002055/0.007747, allocations: 8 kB / 0.8151 GB, free: 13.51 MB / 0.7761 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.0001148/0.007862, allocations: 99.98 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.008027, allocations: 36.67 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008029, allocations: 0 / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.16e-05/0.00809, allocations: 20.72 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.008558, allocations: 16.73 kB / 0.8152 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.00884, allocations: 111.5 kB / 0.8153 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.008917, allocations: 67.2 kB / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.188e-05/0.008939, allocations: 0.6562 kB / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.008966, allocations: 8.5 kB / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.008967, allocations: 1.281 kB / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.003066/0.01203, allocations: 488.4 kB / 0.8159 GB, free: 12.63 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.202175409067422]