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.001038/0.001038, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009839/0.0009839, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.057/1.057, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.922/1.922, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] 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 3.357e-06/3.357e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.543e-05/3.878e-05, allocations: 8.922 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002317/0.002356, allocations: 0.7091 MB / 0.8122 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.004437, allocations: 1.315 MB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.004503, allocations: 1.188 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.457e-05/0.004548, allocations: 7.875 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.004661, allocations: 28.34 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.005644, allocations: 297.7 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000415/0.006059, allocations: 256.7 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.006184, allocations: 8.188 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.006436, allocations: 143.8 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.006645, allocations: 80.73 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.006704, allocations: 24 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.006814, allocations: 35.97 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.00692, allocations: 8.906 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.007079, allocations: 79.86 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.007379, allocations: 196.5 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.007384, allocations: 4 kB / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.603e-06/0.007386, allocations: 0 / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.007392, allocations: 1.375 kB / 0.8147 GB, free: 14.54 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.000713/0.008105, allocations: 0.5053 MB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.008146, allocations: 8.031 kB / 0.8152 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.008209, allocations: 16.89 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.808e-05/0.008297, allocations: 122.5 kB / 0.8153 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.008322, allocations: 12.36 kB / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.008352, allocations: 16.38 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.008462, allocations: 62.88 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.008472, allocations: 4.188 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.008482, allocations: 2.031 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.008492, allocations: 4.125 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.008521, allocations: 11.98 kB / 0.8154 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.008965, allocations: 371.5 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.883e-05/0.009023, allocations: 43.92 kB / 0.8158 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.009048, allocations: 15.77 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.009056, allocations: 4.531 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.009185, allocations: 105.5 kB / 0.8159 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.009187, allocations: 5.062 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0002327/0.009419, allocations: 125.5 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.009452, allocations: 59.34 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.201e-05/0.009544, allocations: 192.1 kB / 0.8163 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.009568, allocations: 33.7 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.009628, allocations: 147.3 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.009647, allocations: 17.28 kB / 0.8165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.009726, allocations: 75.33 kB / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.009833, allocations: 0.4884 MB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.009974, allocations: 165 kB / 0.8172 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.01013, allocations: 231.7 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.0103, allocations: 244.9 kB / 0.8176 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.0103, allocations: 4 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003975/0.0107, allocations: 472.3 kB / 0.8181 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/0.01075, allocations: 97.09 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01075, allocations: 1.516 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.01077, allocations: 7.984 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.645e-05/0.01079, allocations: 3.938 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.0108, allocations: 9.297 kB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.01101, allocations: 66.91 kB / 0.8183 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.01103, allocations: 15.98 kB / 0.8183 GB, free: 10.45 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 8.085e-05/0.01111, allocations: 175 kB / 0.8184 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.01112, allocations: 15.89 kB / 0.8185 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.01115, allocations: 16.42 kB / 0.8185 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.01115, allocations: 0 / 0.8185 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01116, allocations: 0.5 kB / 0.8185 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01116, allocations: 0 / 0.8185 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.888e-05/0.01124, allocations: 149.7 kB / 0.8186 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01124, allocations: 0 / 0.8186 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-06/0.01125, allocations: 0 / 0.8186 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01125, allocations: 4.906 kB / 0.8186 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.01125, allocations: 4 kB / 0.8186 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.01125, allocations: 0 / 0.8186 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01125, allocations: 1.344 kB / 0.8186 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.01138, allocations: 148.3 kB / 0.8188 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.01138, allocations: 3.953 kB / 0.8188 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.0114, allocations: 9.031 kB / 0.8188 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.01141, allocations: 7.984 kB / 0.8188 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.01144, allocations: 11.92 kB / 0.8188 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.01145, allocations: 4.656 kB / 0.8188 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.01149, allocations: 135.2 kB / 0.8189 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01149, allocations: 2.594 kB / 0.8189 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001762/0.01167, allocations: 44 kB / 0.819 GB, free: 9.676 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 0.0001585/0.01183, allocations: 116.5 kB / 0.8191 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.01219, allocations: 405.7 kB / 0.8195 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01219, allocations: 0 / 0.8195 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.01223, allocations: 35.61 kB / 0.8195 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.01242, allocations: 27.28 kB / 0.8195 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.01273, allocations: 199.8 kB / 0.8197 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.132e-05/0.01276, allocations: 59.78 kB / 0.8198 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.01278, allocations: 13.61 kB / 0.8198 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.0128, allocations: 12.5 kB / 0.8198 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.0128, allocations: 1.062 kB / 0.8198 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of Templates: time 0.00423/0.01703, allocations: 2.927 MB / 0.8227 GB, free: 5.867 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: 5.371838327962905]