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.001273/0.001273, 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.00147/0.00147, 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.9765/0.9765, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.784/1.784, allocations: 359 MB / 0.6055 GB, free: 10.9 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 3.096e-06/3.096e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.543e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002263/0.002298, allocations: 0.7101 MB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.004202, allocations: 1.324 MB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.004269, allocations: 0 / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.004303, allocations: 4.531 kB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.004408, allocations: 20.88 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008311/0.005239, allocations: 297.2 kB / 0.7899 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.005586, allocations: 260.2 kB / 0.7901 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.005686, allocations: 9.016 kB / 0.7901 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.005899, allocations: 139.8 kB / 0.7903 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.006069, allocations: 75.8 kB / 0.7903 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.927e-05/0.006118, allocations: 25.19 kB / 0.7903 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.222e-05/0.00621, allocations: 39.92 kB / 0.7904 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.006241, allocations: 15.92 kB / 0.7904 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.942e-05/0.00633, allocations: 73.33 kB / 0.7905 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.006589, allocations: 195.5 kB / 0.7907 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006591, allocations: 0 / 0.7907 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/0.006593, allocations: 0 / 0.7907 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.006597, allocations: 1.062 kB / 0.7907 GB, free: 9.035 MB / 0.7448 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.0005375/0.007135, allocations: 0.5053 MB / 0.7912 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.007179, allocations: 13.59 kB / 0.7912 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.852e-05/0.007248, allocations: 20.89 kB / 0.7912 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.887e-05/0.007347, allocations: 124.4 kB / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.00737, allocations: 8.375 kB / 0.7913 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.007406, allocations: 17.97 kB / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.007514, allocations: 62.92 kB / 0.7914 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.007521, allocations: 4.125 kB / 0.7914 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.007529, allocations: 384 / 0.7914 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.007537, allocations: 4.125 kB / 0.7914 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.635e-05/0.007564, allocations: 13.77 kB / 0.7914 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.008012, allocations: 352.2 kB / 0.7917 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.184e-05/0.008064, allocations: 31.05 kB / 0.7918 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.008087, allocations: 15.77 kB / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.008094, allocations: 6.469 kB / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.008232, allocations: 104.9 kB / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.008234, allocations: 0 / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.000244/0.008478, allocations: 117.8 kB / 0.792 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.008515, allocations: 55.41 kB / 0.7921 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.008638, allocations: 193.8 kB / 0.7922 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.008671, allocations: 30.33 kB / 0.7923 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.008755, allocations: 150.8 kB / 0.7924 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.008779, allocations: 25.48 kB / 0.7924 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.008893, allocations: 71.31 kB / 0.7925 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.009038, allocations: 0.4923 MB / 0.793 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.009199, allocations: 149 kB / 0.7931 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.009394, allocations: 216.2 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.009631, allocations: 231.9 kB / 0.7936 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.009634, allocations: 1.375 kB / 0.7936 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005348/0.01017, allocations: 437.3 kB / 0.794 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/0.01024, allocations: 109 kB / 0.7941 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01025, allocations: 80 / 0.7941 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.01026, allocations: 4 kB / 0.7941 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.098e-05/0.01028, allocations: 8.594 kB / 0.7941 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.01029, allocations: 7.984 kB / 0.7941 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.01057, allocations: 58.75 kB / 0.7942 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.01061, allocations: 19.98 kB / 0.7942 GB, free: 5.059 MB / 0.7448 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 0.0001087/0.01072, allocations: 176.7 kB / 0.7943 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.01074, allocations: 23.86 kB / 0.7944 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.01077, allocations: 12.44 kB / 0.7944 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01078, allocations: 0 / 0.7944 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01078, allocations: 0 / 0.7944 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01078, allocations: 0 / 0.7944 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.0109, allocations: 129.6 kB / 0.7945 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.0109, allocations: 0 / 0.7945 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.01091, allocations: 4.719 kB / 0.7945 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01091, allocations: 0 / 0.7945 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.01092, allocations: 4.531 kB / 0.7945 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01092, allocations: 5.562 kB / 0.7945 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01092, allocations: 4 kB / 0.7945 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.01108, allocations: 136.3 kB / 0.7947 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.01109, allocations: 7.953 kB / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.0111, allocations: 0 / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.653e-05/0.01113, allocations: 12.47 kB / 0.7947 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.01116, allocations: 8.891 kB / 0.7947 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.01117, allocations: 3.984 kB / 0.7947 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.811e-05/0.01123, allocations: 146 kB / 0.7948 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01123, allocations: 0.8438 kB / 0.7948 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002894/0.01151, allocations: 36 kB / 0.7949 GB, free: 4.316 MB / 0.7448 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.0001407/0.01166, allocations: 116.4 kB / 0.795 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003815/0.01204, allocations: 389.9 kB / 0.7953 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01204, allocations: 0 / 0.7953 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.032e-05/0.01209, allocations: 41.27 kB / 0.7954 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01234, allocations: 24.84 kB / 0.7954 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.01267, allocations: 186.3 kB / 0.7956 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.01271, allocations: 63.91 kB / 0.7956 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.01275, allocations: 12.42 kB / 0.7957 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.01294, allocations: 122.2 kB / 0.7958 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of SimCode: time 7.62e-07/0.01294, allocations: 0 / 0.7958 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of Templates: time 0.006424/0.01936, allocations: 3.174 MB / 0.7989 GB, free: 184 kB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] 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","",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.915459967218339]