Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001494, allocations: 191.6 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 68.75 kB / 0.6709 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2238, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001963/0.2258, allocations: 0.7785 MB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.2273, allocations: 1.298 MB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.2273, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.2274, allocations: 3.938 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.595e-05/0.2274, allocations: 11.92 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.2282, allocations: 293.3 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.2284, allocations: 227.5 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.906e-05/0.2285, allocations: 16.17 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2286, allocations: 91.84 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.2287, allocations: 67.78 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.2287, allocations: 12 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.323e-05/0.2288, allocations: 27.98 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.2289, allocations: 19.92 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.771e-05/0.229, allocations: 71.75 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.2292, allocations: 215.7 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2292, allocations: 0 / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2292, allocations: 4 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2292, allocations: 0 / 0.7859 GB, free: 10.78 MB / 0.6075 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.0005448/0.2298, allocations: 496.3 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2298, allocations: 8.031 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.2299, allocations: 42.69 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.2299, allocations: 12.84 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2301, allocations: 180.2 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.2301, allocations: 12.38 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.2301, allocations: 12.38 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.2303, allocations: 61.98 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.2303, allocations: 0 / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2303, allocations: 0 / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2303, allocations: 0 / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.335e-05/0.2303, allocations: 23.98 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.2309, allocations: 424.4 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.802e-05/0.2309, allocations: 30.58 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.231, allocations: 24.88 kB / 0.7871 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.231, allocations: 0 / 0.7871 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.2312, allocations: 99.28 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.2312, allocations: 4 kB / 0.7872 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002967/0.2315, allocations: 137.5 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.2315, allocations: 55.41 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2317, allocations: 137 kB / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.2317, allocations: 33.7 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.2318, allocations: 92.14 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.2318, allocations: 32.08 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.2319, allocations: 65.67 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.232, allocations: 330.8 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.2322, allocations: 83.95 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.2325, allocations: 141.8 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.2327, allocations: 238.2 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2327, allocations: 0 / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005822/0.2333, allocations: 374.5 kB / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/0.2334, allocations: 101.3 kB / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2334, allocations: 3.938 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2334, allocations: 4 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.797e-05/0.2335, allocations: 7.984 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2335, allocations: 0 / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.234, allocations: 83.81 kB / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.234, allocations: 19.97 kB / 0.7891 GB, free: 7.137 MB / 0.6075 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.0001165/0.2341, allocations: 141.6 kB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.2342, allocations: 7.906 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.2342, allocations: 12.38 kB / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.2342, allocations: 0 / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2342, allocations: 0 / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2342, allocations: 0 / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.2344, allocations: 197.5 kB / 0.7894 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2344, allocations: 4 kB / 0.7894 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-06/0.2344, allocations: 0 / 0.7894 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2344, allocations: 0 / 0.7894 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.2344, allocations: 8 kB / 0.7894 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.2344, allocations: 4 kB / 0.7894 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2344, allocations: 7.922 kB / 0.7894 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.2346, allocations: 136.9 kB / 0.7896 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.2347, allocations: 81.02 kB / 0.7896 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.2347, allocations: 11.98 kB / 0.7897 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.2347, allocations: 4 kB / 0.7897 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.2348, allocations: 8.078 kB / 0.7897 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2348, allocations: 7.938 kB / 0.7897 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.2348, allocations: 99.27 kB / 0.7898 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2348, allocations: 0 / 0.7898 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003049/0.2351, allocations: 40 kB / 0.7898 GB, free: 6.285 MB / 0.6075 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.0004875/0.2356, allocations: 0.6903 MB / 0.7905 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.2361, allocations: 358.1 kB / 0.7908 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2361, allocations: 0 / 0.7908 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.2362, allocations: 39.92 kB / 0.7909 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2364, allocations: 28.34 kB / 0.7909 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.2388, allocations: 2.052 MB / 0.7929 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.239, allocations: 0.7042 MB / 0.7936 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.239, allocations: 8.438 kB / 0.7936 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.2391, allocations: 27.42 kB / 0.7936 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2391, allocations: 0 / 0.7936 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.2527, allocations: 3.561 MB / 0.7971 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.253, allocations: 210.3 kB / 0.7973 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/1.942, allocations: 0 / 0.7973 GB, free: 14.48 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)