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.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.0009734/0.0009734, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001402/0.001402, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9479/0.9479, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.361/2.361, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0.6562 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.24e-05, allocations: 4.422 kB / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001073/0.001085, allocations: 0.6794 MB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.002078, allocations: 0.8391 MB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.002107, allocations: 0 / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.00213, allocations: 0 / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.002188, allocations: 3.938 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.545e-05/0.002233, allocations: 4 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.591e-05/0.002289, allocations: 31.92 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.403e-05/0.002353, allocations: 7.984 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.629e-05/0.00242, allocations: 15.92 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.966e-05/0.002449, allocations: 7.984 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.002465, allocations: 4 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-06/0.00247, allocations: 0 / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.002483, allocations: 4 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.323e-05/0.002496, allocations: 4 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.953e-05/0.002556, allocations: 19.91 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.002557, allocations: 0 / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002558, allocations: 0 / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.002561, allocations: 4 kB / 0.8402 GB, free: 12.5 MB / 0.8073 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.0002816/0.002842, allocations: 240.9 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.002875, allocations: 8.625 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.002897, allocations: 0.9375 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.701e-05/0.002974, allocations: 117.7 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.002983, allocations: 4.312 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.002995, allocations: 8.359 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.003087, allocations: 50.95 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.003094, allocations: 4.188 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.003101, allocations: 384 / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.003107, allocations: 4.375 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.005e-05/0.003127, allocations: 7.938 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.003321, allocations: 144.3 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.824e-05/0.003359, allocations: 22.52 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.003374, allocations: 8.922 kB / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-06/0.003379, allocations: 0 / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.003397, allocations: 34.56 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003397, allocations: 0 / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.786e-05/0.003495, allocations: 41.83 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.003524, allocations: 59.28 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.715e-05/0.003572, allocations: 110.7 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.00358, allocations: 25.7 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.003605, allocations: 80.14 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.003625, allocations: 7.953 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.003646, allocations: 13.72 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.003717, allocations: 318.8 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.003725, allocations: 0 / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.003734, allocations: 11.92 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.97e-05/0.003753, allocations: 12.95 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.003755, allocations: 0 / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.702e-05/0.003792, allocations: 37.62 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.003803, allocations: 8 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.003806, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.003818, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.003875, allocations: 7.938 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.003878, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.003892, allocations: 4 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.003895, allocations: 0 / 0.8416 GB, free: 10.97 MB / 0.8073 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 4.662e-05/0.003942, allocations: 113.9 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.003952, allocations: 4 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.003968, allocations: 7.312 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.003969, allocations: 0 / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.003972, allocations: 3.938 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.003975, allocations: 0 / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.661e-05/0.004051, allocations: 73.83 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.004052, allocations: 0 / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.004065, allocations: 4 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.004066, allocations: 256 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-06/0.00407, allocations: 4 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.004072, allocations: 4 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004072, allocations: 0 / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.167e-05/0.004134, allocations: 139.4 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.00414, allocations: 3.953 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-06/0.004147, allocations: 0 / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.21e-05/0.004179, allocations: 4 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.004205, allocations: 7.984 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.004207, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.412e-05/0.004221, allocations: 20.78 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004221, allocations: 32 / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000111/0.004332, allocations: 8 kB / 0.842 GB, free: 10.54 MB / 0.8073 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 6.774e-05/0.004399, allocations: 80.41 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.343e-05/0.004443, allocations: 8.859 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.004445, allocations: 0 / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.004458, allocations: 16.73 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.004584, allocations: 8 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.004782, allocations: 108.8 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.004816, allocations: 55.34 kB / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.287e-05/0.004829, allocations: 4 kB / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.004866, allocations: 47.38 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of SimCode: time 2.7e-07/0.004866, allocations: 4 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of Templates: time 0.001747/0.006613, allocations: 471.2 kB / 0.8427 GB, free: 9.699 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.138037721160799]