Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001009/0.001009, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001509/0.001509, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.941/0.941, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.889/1.889, allocations: 377.9 MB / 0.6239 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.225e-05, allocations: 6.25 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001067/0.001079, allocations: 0.7123 MB / 0.8127 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.002172, allocations: 1.315 MB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.00221, allocations: 0 / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.002232, allocations: 4.594 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.0023, allocations: 21.17 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.002781, allocations: 304.9 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.00297, allocations: 256.2 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.839e-05/0.003039, allocations: 12.17 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.003161, allocations: 140.8 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.003265, allocations: 75.86 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.003295, allocations: 27.98 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.933e-05/0.003355, allocations: 32.66 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.003374, allocations: 15.92 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.003437, allocations: 76.56 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.003603, allocations: 196.8 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003605, allocations: 0 / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003605, allocations: 0 / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.003608, allocations: 0 / 0.8151 GB, free: 14.29 MB / 0.7761 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.0003465/0.003955, allocations: 0.5151 MB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.003983, allocations: 8.031 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.004024, allocations: 20.89 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.49e-05/0.004089, allocations: 120.5 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.004105, allocations: 8.375 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.004127, allocations: 21.2 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.473e-05/0.004192, allocations: 54.94 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.004197, allocations: 192 / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.004205, allocations: 9.906 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.004209, allocations: 4.125 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.004228, allocations: 11.98 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.004527, allocations: 348.2 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.602e-05/0.004563, allocations: 36.58 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.004579, allocations: 15.69 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-06/0.004584, allocations: 0 / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.391e-05/0.004668, allocations: 102 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.004669, allocations: 0 / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0001649/0.004834, allocations: 125.5 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.004857, allocations: 56.94 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.004932, allocations: 192.8 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.004955, allocations: 37.7 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.00501, allocations: 146.8 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.005023, allocations: 16.36 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-05/0.005096, allocations: 79.92 kB / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.005195, allocations: 0.4884 MB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.005297, allocations: 157.5 kB / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.005423, allocations: 219.6 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.00556, allocations: 240.5 kB / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.005561, allocations: 0 / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003301/0.005891, allocations: 432.8 kB / 0.8184 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.005937, allocations: 107.6 kB / 0.8185 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.005943, allocations: 8.641 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.005951, allocations: 0 / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.397e-05/0.005965, allocations: 4.719 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.005968, allocations: 0 / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.006153, allocations: 61.69 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.006175, allocations: 15.98 kB / 0.8186 GB, free: 10.32 MB / 0.7761 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 7.858e-05/0.006253, allocations: 177.8 kB / 0.8188 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.006266, allocations: 15.89 kB / 0.8188 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.006286, allocations: 13.02 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.006288, allocations: 0.5938 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.006289, allocations: 4 kB / 0.8188 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006291, allocations: 1.844 kB / 0.8188 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.412e-05/0.006365, allocations: 121.2 kB / 0.8189 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006366, allocations: 0 / 0.8189 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.006372, allocations: 4 kB / 0.819 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.006373, allocations: 0 / 0.819 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.006378, allocations: 8.859 kB / 0.819 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.006379, allocations: 3.938 kB / 0.819 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00638, allocations: 3.469 kB / 0.819 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.006488, allocations: 136.3 kB / 0.8191 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.006497, allocations: 11.94 kB / 0.8191 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.006506, allocations: 4 kB / 0.8191 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.243e-05/0.006518, allocations: 3.938 kB / 0.8191 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.006541, allocations: 11.98 kB / 0.8191 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.006545, allocations: 4 kB / 0.8191 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.00658, allocations: 135.2 kB / 0.8193 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00658, allocations: 3.938 kB / 0.8193 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001597/0.006739, allocations: 48.61 kB / 0.8193 GB, free: 9.566 MB / 0.7761 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 9.281e-05/0.006832, allocations: 104.9 kB / 0.8194 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.007082, allocations: 402.8 kB / 0.8198 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007084, allocations: 1.094 kB / 0.8198 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.007113, allocations: 31.61 kB / 0.8198 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.007267, allocations: 27.23 kB / 0.8199 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.007512, allocations: 190.9 kB / 0.82 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.854e-05/0.00754, allocations: 67.14 kB / 0.8201 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.874e-05/0.007559, allocations: 11.84 kB / 0.8201 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.007679, allocations: 118.1 kB / 0.8202 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/0.00768, allocations: 0 / 0.8202 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of Templates: time 0.004061/0.01174, allocations: 3.174 MB / 0.8233 GB, free: 5.438 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.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: 4.980307288002223]