Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.000815/0.000815, 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.0008647/0.0008647, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8873/0.8873, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.669/1.669, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.045e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001151/0.001171, allocations: 0.6881 MB / 0.9524 GB, free: 2.297 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.002308, allocations: 1.284 MB / 0.9537 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.002351, allocations: 0 / 0.9537 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.00238, allocations: 7.875 kB / 0.9537 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.002448, allocations: 15.91 kB / 0.9537 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.003007, allocations: 312.7 kB / 0.954 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.003219, allocations: 259.5 kB / 0.9542 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.00331, allocations: 16.11 kB / 0.9543 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.003436, allocations: 143.8 kB / 0.9544 GB, free: 272 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.003552, allocations: 79.81 kB / 0.9545 GB, free: 192 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.003582, allocations: 20 kB / 0.9545 GB, free: 172 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.003647, allocations: 35.92 kB / 0.9545 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.003668, allocations: 19.97 kB / 0.9545 GB, free: 116 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.897e-05/0.003737, allocations: 75.88 kB / 0.9546 GB, free: 40 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.003979, allocations: 263.4 kB / 0.9549 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.00398, allocations: 0 / 0.9549 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003981, allocations: 0 / 0.9549 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003985, allocations: 0 / 0.9549 GB, free: 15.78 MB / 0.9167 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.0004283/0.004413, allocations: 427 kB / 0.9553 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.004446, allocations: 12.03 kB / 0.9553 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.004497, allocations: 16.89 kB / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.132e-05/0.004578, allocations: 117.8 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.004598, allocations: 4.375 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.004625, allocations: 16.38 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.923e-05/0.004724, allocations: 62.06 kB / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.004731, allocations: 192 / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004741, allocations: 384 / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.004747, allocations: 8.125 kB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.004786, allocations: 23.97 kB / 0.9555 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.005159, allocations: 308.4 kB / 0.9558 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/0.005212, allocations: 38.44 kB / 0.9559 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.005237, allocations: 20.95 kB / 0.9559 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.005247, allocations: 3.984 kB / 0.9559 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.005372, allocations: 103.2 kB / 0.956 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.005374, allocations: 0 / 0.956 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002401/0.005614, allocations: 145.5 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.005648, allocations: 55.39 kB / 0.9562 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.005725, allocations: 140.8 kB / 0.9563 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.005753, allocations: 33.7 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.005803, allocations: 96.14 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.005821, allocations: 27.91 kB / 0.9564 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.005896, allocations: 69.67 kB / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.00597, allocations: 318.8 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.006132, allocations: 185 kB / 0.957 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.006302, allocations: 224.9 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.006486, allocations: 247 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.006489, allocations: 4 kB / 0.9575 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004168/0.006905, allocations: 467.5 kB / 0.9579 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.006958, allocations: 101.1 kB / 0.958 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.006962, allocations: 0 / 0.958 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.006974, allocations: 4 kB / 0.958 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.796e-05/0.006992, allocations: 4 kB / 0.958 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.006998, allocations: 3.938 kB / 0.958 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.007255, allocations: 91.97 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.007282, allocations: 19.98 kB / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 8.025e-05/0.007362, allocations: 125.8 kB / 0.9582 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.007374, allocations: 15.88 kB / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.007395, allocations: 8.438 kB / 0.9583 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.007396, allocations: 4 kB / 0.9583 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.007402, allocations: 4 kB / 0.9583 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007405, allocations: 0 / 0.9583 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.368e-05/0.007488, allocations: 129.2 kB / 0.9584 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.007489, allocations: 0 / 0.9584 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.801e-06/0.007495, allocations: 7.938 kB / 0.9584 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007497, allocations: 3.938 kB / 0.9584 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.007504, allocations: 4 kB / 0.9584 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.007508, allocations: 11.92 kB / 0.9584 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007509, allocations: 0 / 0.9584 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.00763, allocations: 137.3 kB / 0.9585 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.007639, allocations: 11.95 kB / 0.9586 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.007653, allocations: 7.922 kB / 0.9586 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.007667, allocations: 4 kB / 0.9586 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.007695, allocations: 7.984 kB / 0.9586 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.007702, allocations: 8 kB / 0.9586 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.007741, allocations: 95.27 kB / 0.9587 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007742, allocations: 0 / 0.9587 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000173/0.007915, allocations: 47.95 kB / 0.9587 GB, free: 11.43 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001016/0.008016, allocations: 99.23 kB / 0.9588 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.008346, allocations: 423.1 kB / 0.9592 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008347, allocations: 0 / 0.9592 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.008392, allocations: 31.98 kB / 0.9592 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.008574, allocations: 28.2 kB / 0.9593 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.008863, allocations: 223.2 kB / 0.9595 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.008911, allocations: 84.05 kB / 0.9596 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.832e-05/0.008929, allocations: 12.5 kB / 0.9596 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.00893, allocations: 0 / 0.9596 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.002413/0.01134, allocations: 1.915 MB / 0.9614 GB, free: 8.531 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.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: 6.508749446831644]