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.0008559/0.0008559, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008544/0.0008544, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.883/0.883, allocations: 177.2 MB / 203.5 MB, free: 5.723 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 1.818/1.818, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.894e-06/1.894e-06, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.054e-05, allocations: 6.219 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001168/0.001189, allocations: 0.6872 MB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.001929, allocations: 0.8315 MB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.001963, allocations: 3.938 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.001989, allocations: 7.938 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.002049, allocations: 7.922 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.661e-05/0.002106, allocations: 11.98 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.048e-05/0.002176, allocations: 43.86 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.002272, allocations: 7.984 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.002344, allocations: 23.92 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.413e-05/0.002378, allocations: 15.98 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.002402, allocations: 7.984 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-06/0.002409, allocations: 8 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.002425, allocations: 7.984 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.002445, allocations: 11.94 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.939e-05/0.002524, allocations: 43.86 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.002526, allocations: 0 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002527, allocations: 0 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.00253, allocations: 0 / 1.003 GB, free: 11.2 MB / 0.9636 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.0003618/0.002892, allocations: 286.2 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.002926, allocations: 8.75 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.002954, allocations: 12.89 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.072e-05/0.003034, allocations: 117.7 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.003044, allocations: 384 / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.003053, allocations: 4.312 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.003208, allocations: 70.22 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.003216, allocations: 192 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.003224, allocations: 384 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.003228, allocations: 384 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.00337, allocations: 75.8 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.003629, allocations: 204.6 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.003745, allocations: 58.53 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.687e-05/0.003822, allocations: 36.92 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.003832, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.003851, allocations: 38.5 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.003851, allocations: 0 / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002988/0.00415, allocations: 141.5 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.004179, allocations: 51.41 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.00424, allocations: 109.8 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.004249, allocations: 29.7 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.004285, allocations: 88.14 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.004304, allocations: 11.88 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.004329, allocations: 13.72 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.004403, allocations: 314.8 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.004475, allocations: 35.95 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.004537, allocations: 31.91 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.004668, allocations: 76.72 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.00467, allocations: 0 / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001599/0.00483, allocations: 97.58 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.004842, allocations: 7.938 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.004846, allocations: 0 / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.004858, allocations: 4 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.00493, allocations: 15.98 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.004933, allocations: 320 / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.004969, allocations: 15.97 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.004974, allocations: 0 / 1.005 GB, free: 9.102 MB / 0.9636 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.186e-05/0.005026, allocations: 113.8 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.005037, allocations: 0 / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.005056, allocations: 11.88 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.005059, allocations: 8 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.005063, allocations: 3.938 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.005065, allocations: 0 / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.517e-05/0.00515, allocations: 113.3 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005151, allocations: 0 / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.00519, allocations: 15.97 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.005191, allocations: 0 / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.005197, allocations: 0 / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.0052, allocations: 11.94 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005201, allocations: 0 / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.00538, allocations: 191.4 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.005385, allocations: 4 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.005396, allocations: 7.984 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.005445, allocations: 11.92 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.005479, allocations: 4 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.005481, allocations: 0 / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.057e-05/0.005512, allocations: 99.19 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005512, allocations: 4 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001431/0.005655, allocations: 4 kB / 1.005 GB, free: 8.445 MB / 0.9636 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 6.933e-05/0.005724, allocations: 97.88 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.005902, allocations: 63.92 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.005903, allocations: 0 / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.116e-05/0.005974, allocations: 40.42 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.006168, allocations: 8 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.006408, allocations: 158.3 kB / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.384e-05/0.006452, allocations: 75.27 kB / 1.006 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.006479, allocations: 8.5 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.00648, allocations: 0 / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of Templates: time 0.001475/0.007955, allocations: 0.7624 MB / 1.006 GB, free: 7.188 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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: 6.5723865469917655]