Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.0009816/0.0009816, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001013/0.001013, allocations: 181 kB / 23.36 MB, free: 1.133 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.9523/0.9523, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.475/2.475, allocations: 438.8 MB / 0.6826 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.557e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001279/0.001295, allocations: 0.7572 MB / 0.8394 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.002093, allocations: 0.8469 MB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.002127, allocations: 4 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.002153, allocations: 4 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.368e-05/0.002217, allocations: 7.875 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.848e-05/0.002275, allocations: 19.97 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.002344, allocations: 39.86 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.889e-05/0.002423, allocations: 15.97 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.002502, allocations: 23.92 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.002538, allocations: 11.98 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.002553, allocations: 4 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-06/0.002558, allocations: 4 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.002575, allocations: 7.984 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.002593, allocations: 15.94 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.33e-05/0.002666, allocations: 31.83 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.00267, allocations: 4 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.92e-07/0.002671, allocations: 0 / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.002675, allocations: 0 / 0.8404 GB, free: 12.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002846/0.002959, allocations: 248.9 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.002992, allocations: 8.625 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.003017, allocations: 8.922 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.05e-05/0.003098, allocations: 113.7 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.003108, allocations: 4.375 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.003115, allocations: 12.31 kB / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.003221, allocations: 58.94 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.003229, allocations: 192 / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.003236, allocations: 4.375 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003242, allocations: 384 / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.215e-05/0.003264, allocations: 15.86 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.003459, allocations: 152.2 kB / 0.841 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.776e-05/0.003507, allocations: 26.62 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.003527, allocations: 16.84 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.003534, allocations: 4 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.003554, allocations: 30.56 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.11e-07/0.003555, allocations: 0 / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.000101/0.003656, allocations: 49.66 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.003689, allocations: 51.41 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.41e-05/0.003743, allocations: 110.9 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.003753, allocations: 33.7 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.00378, allocations: 80.14 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.003797, allocations: 11.89 kB / 0.8414 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.003829, allocations: 17.7 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.003907, allocations: 318.8 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.003918, allocations: 4 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.11e-05/0.003929, allocations: 4 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.003955, allocations: 16.78 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.003957, allocations: 0 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.769e-05/0.004004, allocations: 45.69 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.004016, allocations: 4 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.00402, allocations: 0 / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.004033, allocations: 3.938 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.004096, allocations: 11.98 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.004099, allocations: 4.062 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.00412, allocations: 8 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.004125, allocations: 4 kB / 0.8419 GB, free: 10.65 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 (3): * Single equations (assignments): 3 * 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.098e-05/0.004176, allocations: 113.8 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.004191, allocations: 4 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.004209, allocations: 11.94 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.004212, allocations: 7.875 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.004213, allocations: 0 / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.004216, allocations: 0 / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.145e-05/0.004297, allocations: 73.88 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004298, allocations: 0 / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.004325, allocations: 15.98 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.004326, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-06/0.00433, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.004332, allocations: 4 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.004333, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.893e-05/0.004402, allocations: 131.8 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.004409, allocations: 8.031 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.004417, allocations: 4 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.004454, allocations: 7.984 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.004482, allocations: 4 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.004485, allocations: 11.88 kB / 0.8422 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.211e-05/0.004497, allocations: 16.83 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004497, allocations: 0 / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001172/0.004614, allocations: 15.95 kB / 0.8423 GB, free: 10.19 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 (3): * Single equations (assignments): 3 * 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 7.04e-05/0.004685, allocations: 72.42 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.741e-05/0.004752, allocations: 16.84 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.004754, allocations: 0 / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.004772, allocations: 12.86 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.004909, allocations: 11.94 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.005121, allocations: 128.5 kB / 0.8425 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.327e-05/0.005154, allocations: 59.3 kB / 0.8426 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.005172, allocations: 0 / 0.8426 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.005222, allocations: 63.36 kB / 0.8426 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of SimCode: time 3.61e-07/0.005222, allocations: 0 / 0.8426 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.002181/0.007404, allocations: 0.6846 MB / 0.8433 GB, free: 9.094 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.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.286723319906741]