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.0009452/0.0009452, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001069/0.001069, allocations: 167.5 kB / 24.87 MB, free: 9.277 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.9764/0.9764, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.838/1.838, allocations: 359 MB / 0.6063 GB, free: 10.89 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 2.454e-06/2.454e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.241e-05, allocations: 6.078 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001775/0.001798, allocations: 0.7064 MB / 0.789 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.003156, allocations: 1.312 MB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.003202, allocations: 5 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.003232, allocations: 7.922 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.00331, allocations: 16.58 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.003835, allocations: 305.8 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.004056, allocations: 251.6 kB / 0.7909 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.377e-05/0.00414, allocations: 13.77 kB / 0.7909 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.004275, allocations: 139.8 kB / 0.791 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.004403, allocations: 75.81 kB / 0.7911 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.004437, allocations: 24 kB / 0.7911 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.004502, allocations: 35.92 kB / 0.7911 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.004527, allocations: 20.5 kB / 0.7912 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.004598, allocations: 72.66 kB / 0.7912 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.004786, allocations: 191.5 kB / 0.7914 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004788, allocations: 4.875 kB / 0.7914 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004789, allocations: 0 / 0.7914 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.004793, allocations: 0 / 0.7914 GB, free: 9.055 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.0004157/0.005208, allocations: 0.5103 MB / 0.7919 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.005246, allocations: 8.031 kB / 0.7919 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.005304, allocations: 24.88 kB / 0.7919 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.005411, allocations: 125.8 kB / 0.7921 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.005433, allocations: 12.38 kB / 0.7921 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.00546, allocations: 12.38 kB / 0.7921 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.169e-05/0.005541, allocations: 64.83 kB / 0.7921 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.005548, allocations: 4.188 kB / 0.7922 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.005555, allocations: 384 / 0.7922 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.005561, allocations: 4.125 kB / 0.7922 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.133e-05/0.005582, allocations: 15.92 kB / 0.7922 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.00592, allocations: 341.8 kB / 0.7925 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.005967, allocations: 39.05 kB / 0.7925 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.005985, allocations: 15.77 kB / 0.7925 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-06/0.005992, allocations: 0 / 0.7925 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.006092, allocations: 97.41 kB / 0.7926 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.006094, allocations: 1.938 kB / 0.7926 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001968/0.00629, allocations: 125.8 kB / 0.7928 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.006323, allocations: 51.41 kB / 0.7928 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.006413, allocations: 192.3 kB / 0.793 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.006443, allocations: 37.7 kB / 0.793 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.006516, allocations: 153.4 kB / 0.7932 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.006533, allocations: 19.83 kB / 0.7932 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.006611, allocations: 71.31 kB / 0.7933 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.006727, allocations: 0.4884 MB / 0.7937 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.006853, allocations: 157 kB / 0.7939 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.006989, allocations: 222.8 kB / 0.7941 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.007145, allocations: 224.6 kB / 0.7943 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.007147, allocations: 1.625 kB / 0.7943 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003822/0.007529, allocations: 448.1 kB / 0.7947 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.007581, allocations: 97.62 kB / 0.7948 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.007587, allocations: 4 kB / 0.7948 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.007595, allocations: 0.7812 kB / 0.7948 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.662e-05/0.007612, allocations: 7.984 kB / 0.7949 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.007617, allocations: 8.906 kB / 0.7949 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.00782, allocations: 57.73 kB / 0.7949 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.007846, allocations: 23.95 kB / 0.7949 GB, free: 5.074 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.144e-05/0.007937, allocations: 175.4 kB / 0.7951 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.007954, allocations: 19.89 kB / 0.7951 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.007974, allocations: 9.875 kB / 0.7951 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.007977, allocations: 4 kB / 0.7951 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.007979, allocations: 0 / 0.7951 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.007984, allocations: 3.984 kB / 0.7951 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.31e-05/0.008067, allocations: 122.2 kB / 0.7953 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008068, allocations: 0 / 0.7953 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-06/0.008073, allocations: 3.938 kB / 0.7953 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008076, allocations: 6.031 kB / 0.7953 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-06/0.00808, allocations: 0 / 0.7953 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.008083, allocations: 7.922 kB / 0.7953 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008084, allocations: 0 / 0.7953 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.008206, allocations: 144.3 kB / 0.7954 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.008215, allocations: 10.27 kB / 0.7954 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.008227, allocations: 3.984 kB / 0.7954 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.315e-05/0.00824, allocations: 3.938 kB / 0.7954 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.008267, allocations: 11.98 kB / 0.7954 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.008276, allocations: 4 kB / 0.7954 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.008315, allocations: 131.2 kB / 0.7956 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008315, allocations: 0.5 kB / 0.7956 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001665/0.008481, allocations: 44 kB / 0.7956 GB, free: 4.336 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 9.811e-05/0.008579, allocations: 108.2 kB / 0.7957 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.008842, allocations: 399.9 kB / 0.7961 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008844, allocations: 0 / 0.7961 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.008872, allocations: 31.66 kB / 0.7961 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.009029, allocations: 29.91 kB / 0.7962 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.009309, allocations: 199.5 kB / 0.7963 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.009339, allocations: 66.62 kB / 0.7964 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.00936, allocations: 4.5 kB / 0.7964 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.009487, allocations: 118.1 kB / 0.7965 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.009488, allocations: 0 / 0.7965 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of Templates: time 0.00427/0.01376, allocations: 3.248 MB / 0.7997 GB, free: 120 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: 5.131064940243959]