Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.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.001684/0.001684, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001879/0.001879, allocations: 191.8 kB / 22.17 MB, free: 5.656 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.444/1.444, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.89 kB / 1.109 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8439/0.846, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002158/0.8481, allocations: 0.7901 MB / 1.275 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.8498, allocations: 1.164 MB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.8498, allocations: 0 / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.8499, allocations: 3.938 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.839e-05/0.85, allocations: 11.88 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.8505, allocations: 144 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.8507, allocations: 127.7 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.8508, allocations: 15.94 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.8509, allocations: 47.91 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.8511, allocations: 63.8 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.8511, allocations: 8 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.506e-05/0.8512, allocations: 23.98 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.8512, allocations: 15.92 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.8513, allocations: 43.84 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.8515, allocations: 122.3 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8515, allocations: 0 / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8515, allocations: 0 / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.8515, allocations: 0 / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008084/0.8523, allocations: 428.9 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.8524, allocations: 15.97 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.8524, allocations: 8.891 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.8526, allocations: 180.2 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.8526, allocations: 4.375 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.8526, allocations: 4.375 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.8529, allocations: 82.19 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.853, allocations: 4.188 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.853, allocations: 7.938 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.853, allocations: 0 / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.8533, allocations: 67.92 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.8538, allocations: 332.7 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.854, allocations: 54.55 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.8542, allocations: 40.91 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.8542, allocations: 0 / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/0.8546, allocations: 103.2 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.8546, allocations: 0 / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0006585/0.8552, allocations: 165.5 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.8553, allocations: 51.41 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.8554, allocations: 130 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.8554, allocations: 29.7 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.8555, allocations: 92.14 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.8555, allocations: 15.83 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.8556, allocations: 37.7 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002154/0.8558, allocations: 318.8 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.8561, allocations: 59.94 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.8563, allocations: 90.45 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.8567, allocations: 136.2 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8567, allocations: 0 / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006/0.8573, allocations: 219.2 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.8574, allocations: 37.7 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8574, allocations: 3.984 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8574, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.8575, allocations: 23.98 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.8575, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.8578, allocations: 40.22 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.8578, allocations: 8.062 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001119/0.8579, allocations: 126.3 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.8579, allocations: 8 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.858, allocations: 12.47 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.858, allocations: 3.938 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.858, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.858, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.8582, allocations: 193.5 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8582, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.8583, allocations: 11.98 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8583, allocations: 4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.8583, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8583, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.8583, allocations: 7.938 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.8587, allocations: 149 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.8588, allocations: 89.05 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.8588, allocations: 0 / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.456e-05/0.8589, allocations: 19.92 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.8589, allocations: 7.984 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.8589, allocations: 4 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.876e-05/0.859, allocations: 97.39 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.859, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002298/0.8592, allocations: 27.94 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002346/0.8595, allocations: 106.2 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005429/0.86, allocations: 175.2 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.86, allocations: 4 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.8602, allocations: 47.89 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.8605, allocations: 20.36 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.8609, allocations: 177.8 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.8613, allocations: 0.6885 MB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.8613, allocations: 4 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.8614, allocations: 15.44 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.8614, allocations: 0 / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.005135/0.8665, allocations: 1.595 MB / 1.283 GB, free: 11.21 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.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: 8.771653815638274]