Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.0009064/0.0009064, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002772/0.003679, 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.0009098/0.0009098, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002081, 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.9544/0.9544, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09957/1.054, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.382/2.382, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2583/2.641, allocations: 145.9 MB / 0.817 GB, free: 4.23 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.8184 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.828e-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.Exp): time 0.002224/0.002252, allocations: 0.7288 MB / 0.8191 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003445, allocations: 0.8586 MB / 0.8199 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.00348, allocations: 7.875 kB / 0.8199 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.003507, allocations: 0 / 0.8199 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.003553, allocations: 7.984 kB / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.003689, allocations: 15.88 kB / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003792, allocations: 27.92 kB / 0.82 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003901, allocations: 0 / 0.82 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.004021, allocations: 19.92 kB / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.004078, allocations: 11.98 kB / 0.82 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.004098, allocations: 0 / 0.82 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.284e-05/0.004181, allocations: 4 kB / 0.82 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.004201, allocations: 4 kB / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.00422, allocations: 4 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.004352, allocations: 23.91 kB / 0.82 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.362e-05/0.004376, allocations: 0 / 0.82 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.024e-06/0.004378, allocations: 4 kB / 0.82 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.444e-05/0.004403, allocations: 0 / 0.82 GB, free: 1.125 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.0004868/0.004889, allocations: 232.6 kB / 0.8203 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.004933, allocations: 12.62 kB / 0.8203 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.005108, allocations: 82.03 kB / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.005215, allocations: 109.8 kB / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.005228, allocations: 384 / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.005238, allocations: 12.31 kB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.005368, allocations: 46.95 kB / 0.8205 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.005377, allocations: 192 / 0.8205 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.005386, allocations: 8.375 kB / 0.8205 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.005395, allocations: 4.359 kB / 0.8205 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.005435, allocations: 7.938 kB / 0.8205 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.005744, allocations: 148.3 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.005814, allocations: 22.52 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.005831, allocations: 4.859 kB / 0.8207 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.005859, allocations: 0 / 0.8207 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.005888, allocations: 34.62 kB / 0.8207 GB, free: 308 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.924e-06/0.00589, allocations: 0 / 0.8207 GB, free: 308 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001533/0.006043, allocations: 45.62 kB / 0.8208 GB, free: 256 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.006082, allocations: 59.28 kB / 0.8208 GB, free: 184 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.006144, allocations: 102.7 kB / 0.8209 GB, free: 68 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.006154, allocations: 25.7 kB / 0.821 GB, free: 36 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.006207, allocations: 84.14 kB / 0.821 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.006229, allocations: 11.94 kB / 0.821 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.006259, allocations: 13.72 kB / 0.8211 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.006348, allocations: 310.8 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.006356, allocations: 0 / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-06/0.006365, allocations: 4 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.006394, allocations: 21.02 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.006397, allocations: 0 / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.991e-05/0.006456, allocations: 33.7 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.006472, allocations: 10.44 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.006476, allocations: 0 / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.006486, allocations: 0 / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-05/0.006584, allocations: 15.92 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.006588, allocations: 0 / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.006608, allocations: 0 / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.006612, allocations: 0 / 0.8214 GB, free: 15.52 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 7.396e-05/0.006686, allocations: 117.9 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.006706, allocations: 0 / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.006815, allocations: 41 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006817, allocations: 0 / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.006822, allocations: 3.938 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.006826, allocations: 4.172 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.006931, allocations: 61.91 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.006935, allocations: 4 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.006995, allocations: 15.92 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.007007, allocations: 7.969 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.007011, allocations: 4 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.007016, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.00702, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.007023, allocations: 3.938 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.007139, allocations: 135.5 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.007148, allocations: 0 / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.678e-05/0.007205, allocations: 3.938 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.007236, allocations: 4 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.00724, allocations: 0 / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.16e-05/0.007262, allocations: 20.77 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.007262, allocations: 4.031 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001855/0.007447, allocations: 4 kB / 0.8219 GB, free: 15.04 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 0.000146/0.007593, allocations: 76.36 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.75e-05/0.007671, allocations: 20.8 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.007677, allocations: 0 / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.902e-05/0.007696, allocations: 12.84 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.0079, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.008366, allocations: 112.8 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.008405, allocations: 51.36 kB / 0.8221 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.008433, allocations: 4 kB / 0.8221 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.008482, allocations: 51.36 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.008482, allocations: 4 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of Templates: time 0.00242/0.0109, allocations: 471.5 kB / 0.8226 GB, free: 14.19 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.1502349600195885]