Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.0008601/0.0008601, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.002012, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000775/0.000775, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.001914, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9977/0.9977, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09357/1.091, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.356/2.356, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2454/2.601, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.8184 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.504e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001387/0.001412, allocations: 0.7197 MB / 0.8191 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007826/0.002194, allocations: 0.8742 MB / 0.8199 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.00223, allocations: 0 / 0.8199 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.002254, allocations: 0 / 0.8199 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.764e-05/0.002292, allocations: 0 / 0.8199 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.697e-05/0.002379, allocations: 19.86 kB / 0.8199 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.676e-05/0.002436, allocations: 15.94 kB / 0.82 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.218e-05/0.002508, allocations: 15.92 kB / 0.82 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.988e-05/0.002578, allocations: 11.98 kB / 0.82 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.536e-05/0.002613, allocations: 7.984 kB / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.002625, allocations: 0 / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.309e-05/0.002688, allocations: 12 kB / 0.82 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.0027, allocations: 7.938 kB / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.417e-05/0.002714, allocations: 4 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.852e-05/0.002803, allocations: 11.98 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.002817, allocations: 0 / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.293e-06/0.002818, allocations: 0 / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.002831, allocations: 4 kB / 0.82 GB, free: 1.137 MB / 0.7917 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.000305/0.003136, allocations: 236.6 kB / 0.8203 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.003172, allocations: 16.56 kB / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.003281, allocations: 82.05 kB / 0.8204 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.434e-05/0.003356, allocations: 117.7 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.003364, allocations: 8.375 kB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-06/0.00337, allocations: 384 / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.886e-05/0.003459, allocations: 58.94 kB / 0.8205 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.003466, allocations: 192 / 0.8205 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.003472, allocations: 384 / 0.8205 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.003476, allocations: 384 / 0.8205 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.003498, allocations: 7.938 kB / 0.8205 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.003663, allocations: 140.3 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.101e-05/0.003704, allocations: 22.52 kB / 0.8207 GB, free: 368 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.167e-05/0.003715, allocations: 4.859 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.003733, allocations: 8.062 kB / 0.8207 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.003755, allocations: 34.56 kB / 0.8207 GB, free: 308 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.003756, allocations: 0 / 0.8207 GB, free: 308 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 9.711e-05/0.003853, allocations: 41.67 kB / 0.8208 GB, free: 260 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.003882, allocations: 55.34 kB / 0.8208 GB, free: 192 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.00393, allocations: 106.7 kB / 0.8209 GB, free: 72 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.003939, allocations: 29.7 kB / 0.821 GB, free: 36 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.003977, allocations: 80.14 kB / 0.821 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.003991, allocations: 3.953 kB / 0.821 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.004014, allocations: 13.72 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.004085, allocations: 323 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.004094, allocations: 4 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-06/0.004102, allocations: 3.984 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/0.004125, allocations: 12.86 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004127, allocations: 0 / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.276e-05/0.00417, allocations: 41.62 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.004181, allocations: 4 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004184, allocations: 0 / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.004192, allocations: 0 / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.765e-05/0.00426, allocations: 16.03 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.004262, allocations: 0 / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.004276, allocations: 0 / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-06/0.004279, allocations: 4 kB / 0.8214 GB, free: 15.51 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.666e-05/0.004326, allocations: 113.8 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.004337, allocations: 0 / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.004396, allocations: 45 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.004398, allocations: 0 / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.004401, allocations: 3.938 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.004404, allocations: 0 / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.193e-05/0.004476, allocations: 65.94 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.004476, allocations: 3.938 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.004503, allocations: 11.98 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-06/0.004508, allocations: 3.953 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.00451, allocations: 0 / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.004513, allocations: 0 / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.004514, allocations: 0 / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.004516, allocations: 7.938 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.388e-05/0.00458, allocations: 131.7 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-06/0.004587, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.931e-05/0.004616, allocations: 12.02 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.004643, allocations: 7.984 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.004645, allocations: 0 / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.1e-05/0.004656, allocations: 12.8 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.004656, allocations: 0 / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001048/0.00476, allocations: 4 kB / 0.8218 GB, free: 15.05 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 8.253e-05/0.004843, allocations: 84.28 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.983e-05/0.004893, allocations: 12.86 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.004897, allocations: 4.062 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-05/0.004909, allocations: 8.859 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.005047, allocations: 4 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.005359, allocations: 108.7 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.042e-05/0.00539, allocations: 59.34 kB / 0.8221 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.499e-05/0.005405, allocations: 0 / 0.8221 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.005443, allocations: 51.38 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of SimCode: time 6.62e-07/0.005443, allocations: 4 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of Templates: time 0.001884/0.007327, allocations: 489.2 kB / 0.8226 GB, free: 14.18 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.ref.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.097665279172361]