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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001695, allocations: 113.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.064/3.064, allocations: 489.3 MB / 0.7687 GB, free: 3.727 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002009/0.002009, allocations: 71.89 kB / 1.103 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9366/0.9387, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001763/0.9405, allocations: 0.6672 MB / 1.263 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.9414, allocations: 0.7991 MB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.9415, allocations: 0.5625 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.9415, allocations: 7.406 kB / 1.264 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.9416, allocations: 9.141 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.9417, allocations: 12.64 kB / 1.264 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.939e-05/0.9418, allocations: 16.34 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.9419, allocations: 8.406 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.942, allocations: 12.8 kB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.942, allocations: 14.14 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.942, allocations: 6.219 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.9421, allocations: 1.469 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.9421, allocations: 5.641 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.9421, allocations: 10.91 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.858e-05/0.9422, allocations: 21 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9422, allocations: 0.75 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9422, allocations: 0 / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.9422, allocations: 0.5625 kB / 1.264 GB, free: 6.926 MB / 0.9981 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.0003902/0.9426, allocations: 335.6 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.9427, allocations: 13.09 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.9427, allocations: 10.56 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.511e-05/0.9428, allocations: 163.4 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.9428, allocations: 1.062 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.9428, allocations: 1.844 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.943, allocations: 49.12 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.943, allocations: 4.875 kB / 1.265 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.9431, allocations: 3.938 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9431, allocations: 0.75 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.9433, allocations: 37.12 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.9435, allocations: 250.3 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.9437, allocations: 40.67 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.9438, allocations: 22.89 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.9438, allocations: 5.266 kB / 1.265 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.9438, allocations: 35.84 kB / 1.265 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9438, allocations: 0.7188 kB / 1.265 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000353/0.9442, allocations: 84.09 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.9442, allocations: 52.47 kB / 1.265 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.348e-05/0.9443, allocations: 100.4 kB / 1.265 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.9443, allocations: 26.7 kB / 1.265 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/0.9443, allocations: 93.36 kB / 1.265 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.9443, allocations: 5.469 kB / 1.265 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.9444, allocations: 12.7 kB / 1.265 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.9444, allocations: 317.2 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.9445, allocations: 13.97 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.9446, allocations: 26.5 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.9448, allocations: 37.52 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.9448, allocations: 3.938 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.945, allocations: 71.58 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.945, allocations: 5.438 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.945, allocations: 4.094 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.945, allocations: 0.6094 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.9451, allocations: 9.078 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.9451, allocations: 1.641 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.9452, allocations: 5.078 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.9452, allocations: 1.391 kB / 1.266 GB, free: 5.207 MB / 0.9981 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.782e-05/0.9453, allocations: 124 kB / 1.266 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.9453, allocations: 0.6875 kB / 1.266 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.9455, allocations: 71.38 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.9455, allocations: 1.422 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9455, allocations: 0 / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.9455, allocations: 0.75 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.9457, allocations: 159.9 kB / 1.266 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9457, allocations: 0.875 kB / 1.266 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.9457, allocations: 8.297 kB / 1.266 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9458, allocations: 0.8438 kB / 1.266 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.9458, allocations: 5.375 kB / 1.266 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9458, allocations: 0 / 1.266 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9458, allocations: 1.062 kB / 1.266 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.946, allocations: 170.5 kB / 1.266 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.9461, allocations: 82.44 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.9461, allocations: 1.5 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.9462, allocations: 10.44 kB / 1.267 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.9462, allocations: 2.172 kB / 1.267 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.9462, allocations: 0.8125 kB / 1.267 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.618e-05/0.9463, allocations: 83.72 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9463, allocations: 0 / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000224/0.9465, allocations: 4.578 kB / 1.267 GB, free: 4.516 MB / 0.9981 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.0001522/0.9467, allocations: 98.09 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.9469, allocations: 38.67 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9469, allocations: 4.656 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.947, allocations: 20.77 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.9473, allocations: 11.48 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.9476, allocations: 129.3 kB / 1.267 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.9477, allocations: 0.6837 MB / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.9477, allocations: 9.188 kB / 1.268 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.9477, allocations: 0 / 1.268 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of Templates: time 0.002336/0.9501, allocations: 0.5521 MB / 1.268 GB, free: 3.512 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: 11.607284517027438]