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.000822/0.000822, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009682/0.0009682, allocations: 169 kB / 24.28 MB, free: 272 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 1.041/1.041, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.803/1.803, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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 4.719e-06/4.719e-06, allocations: 3.984 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.399e-05/3.871e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002229/0.002268, allocations: 0.7051 MB / 0.7878 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.004069, allocations: 1.312 MB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.004134, allocations: 0.8125 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.0045, allocations: 11.86 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.00461, allocations: 20.7 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.005356, allocations: 293.6 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.005626, allocations: 263 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.005731, allocations: 16.16 kB / 0.7897 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.005884, allocations: 143.8 kB / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.006017, allocations: 75.81 kB / 0.7899 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.006052, allocations: 20 kB / 0.7899 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.006132, allocations: 43.86 kB / 0.7899 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.006159, allocations: 11.98 kB / 0.7899 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/0.00624, allocations: 75.88 kB / 0.79 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.006472, allocations: 195.5 kB / 0.7902 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.006477, allocations: 0.6875 kB / 0.7902 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.006478, allocations: 0 / 0.7902 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.006485, allocations: 0.5938 kB / 0.7902 GB, free: 9.617 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.0005292/0.007014, allocations: 0.5107 MB / 0.7907 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.007059, allocations: 8.031 kB / 0.7907 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.007135, allocations: 20.88 kB / 0.7907 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.011e-05/0.007225, allocations: 120.5 kB / 0.7908 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.00725, allocations: 8.375 kB / 0.7909 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.007277, allocations: 21.06 kB / 0.7909 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.007395, allocations: 68.11 kB / 0.7909 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.007401, allocations: 192 / 0.7909 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.007413, allocations: 4.375 kB / 0.7909 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.007422, allocations: 4.125 kB / 0.7909 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.007452, allocations: 9.531 kB / 0.791 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.00793, allocations: 371.6 kB / 0.7913 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.237e-05/0.007993, allocations: 42.98 kB / 0.7913 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.008028, allocations: 11.69 kB / 0.7914 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.008039, allocations: 8.703 kB / 0.7914 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.008185, allocations: 94.92 kB / 0.7915 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.008187, allocations: 0 / 0.7915 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002842/0.008471, allocations: 129.5 kB / 0.7916 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.008515, allocations: 63.33 kB / 0.7916 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.008634, allocations: 189.9 kB / 0.7918 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.008663, allocations: 30.23 kB / 0.7919 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.008733, allocations: 147.5 kB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.008754, allocations: 27.89 kB / 0.792 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.008843, allocations: 72.58 kB / 0.7921 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.008974, allocations: 0.4961 MB / 0.7926 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.009142, allocations: 161 kB / 0.7927 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.009325, allocations: 231.5 kB / 0.7929 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.009517, allocations: 240.7 kB / 0.7932 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.00952, allocations: 0.6875 kB / 0.7932 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004502/0.00997, allocations: 467.4 kB / 0.7936 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.01003, allocations: 101.6 kB / 0.7937 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01003, allocations: 4 kB / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.01005, allocations: 5.125 kB / 0.7937 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.117e-05/0.01007, allocations: 3.938 kB / 0.7937 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.01008, allocations: 8.062 kB / 0.7937 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.01031, allocations: 53.69 kB / 0.7938 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.01034, allocations: 26.2 kB / 0.7938 GB, free: 5.539 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 9.766e-05/0.01044, allocations: 171 kB / 0.794 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.01046, allocations: 27.81 kB / 0.794 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.01048, allocations: 8.438 kB / 0.794 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01049, allocations: 2.781 kB / 0.794 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.01049, allocations: 0 / 0.794 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.0105, allocations: 0 / 0.794 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.0106, allocations: 148.5 kB / 0.7942 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.0106, allocations: 0 / 0.7942 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-06/0.01061, allocations: 0 / 0.7942 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.01061, allocations: 3.938 kB / 0.7942 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.01062, allocations: 7.984 kB / 0.7942 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01062, allocations: 5.469 kB / 0.7942 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01063, allocations: 0 / 0.7942 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.01077, allocations: 140.3 kB / 0.7943 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.01078, allocations: 11.94 kB / 0.7943 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.0108, allocations: 12.42 kB / 0.7943 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.553e-05/0.01081, allocations: 0.5625 kB / 0.7943 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.01085, allocations: 11.98 kB / 0.7943 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.01086, allocations: 5.375 kB / 0.7943 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.896e-05/0.01092, allocations: 138.3 kB / 0.7945 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01092, allocations: 0 / 0.7945 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001989/0.01112, allocations: 47.98 kB / 0.7945 GB, free: 4.758 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.0001561/0.01127, allocations: 108.8 kB / 0.7946 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.01164, allocations: 411.8 kB / 0.795 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01164, allocations: 0 / 0.795 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.01169, allocations: 40.53 kB / 0.7951 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.0119, allocations: 23.39 kB / 0.7951 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.01225, allocations: 195.9 kB / 0.7953 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.933e-05/0.01229, allocations: 63.34 kB / 0.7953 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.178e-05/0.01233, allocations: 9.625 kB / 0.7953 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.01236, allocations: 12.5 kB / 0.7954 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.01236, allocations: 1.062 kB / 0.7954 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of Templates: time 0.005127/0.01748, allocations: 2.925 MB / 0.7982 GB, free: 0.9414 MB / 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: 5.3373810888733715]