Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.00115/0.00115, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.315/1.315, allocations: 205.1 MB / 222.4 MB, free: 4.613 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 2.031/2.031, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001438/0.001438, allocations: 72.67 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2079, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001787/0.2097, allocations: 0.674 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.211, allocations: 1.191 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.211, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.2111, allocations: 3.938 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.2111, allocations: 7.875 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.2117, allocations: 209.8 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.2119, allocations: 183.8 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.212, allocations: 15.98 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.2121, allocations: 67.89 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2122, allocations: 47.86 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.2123, allocations: 16 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.2124, allocations: 39.86 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.2124, allocations: 7.938 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2125, allocations: 59.81 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.2128, allocations: 147.9 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2128, allocations: 0 / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2128, allocations: 4 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.2128, allocations: 0 / 0.7861 GB, free: 10.71 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005234/0.2133, allocations: 438.7 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2134, allocations: 12.03 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.2134, allocations: 30.75 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.2135, allocations: 8.938 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.643e-05/0.2136, allocations: 176.3 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.2136, allocations: 8.375 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.2136, allocations: 8.375 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.194e-05/0.2137, allocations: 50.19 kB / 0.7868 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2137, allocations: 3.938 kB / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2137, allocations: 4 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2137, allocations: 0 / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.2138, allocations: 19.97 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.2142, allocations: 352.7 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.101e-05/0.2143, allocations: 30.67 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.2143, allocations: 24.78 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.2143, allocations: 0 / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.2145, allocations: 83.28 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.2145, allocations: 4 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002229/0.2147, allocations: 93.67 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.2148, allocations: 63.33 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.2149, allocations: 133.7 kB / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.2149, allocations: 30.08 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.215, allocations: 88.14 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.215, allocations: 15.8 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-05/0.2151, allocations: 49.69 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.774e-05/0.2152, allocations: 322.7 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.2153, allocations: 55.97 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2155, allocations: 96.25 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.2157, allocations: 159.6 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2157, allocations: 0 / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003918/0.2161, allocations: 260.9 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.2161, allocations: 63.41 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2161, allocations: 3.984 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2161, allocations: 4 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.632e-05/0.2162, allocations: 3.938 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2162, allocations: 4 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.2165, allocations: 63.91 kB / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.2166, allocations: 11.98 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.7e-05/0.2167, allocations: 121.8 kB / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.2167, allocations: 7.906 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.2167, allocations: 12.36 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2167, allocations: 0 / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2167, allocations: 4 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2167, allocations: 0 / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.2169, allocations: 173.6 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2169, allocations: 11.94 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-06/0.2169, allocations: 4.078 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2169, allocations: 3.938 kB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.2169, allocations: 4 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2169, allocations: 4 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2169, allocations: 0 / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2171, allocations: 102.1 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.2171, allocations: 89.02 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.2171, allocations: 4 kB / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.2171, allocations: 0 / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.2172, allocations: 11.92 kB / 0.7893 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.2172, allocations: 4 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.2172, allocations: 95.2 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2172, allocations: 0 / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002343/0.2175, allocations: 32 kB / 0.7894 GB, free: 6.906 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003756/0.2179, allocations: 0.6514 MB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.2182, allocations: 250.8 kB / 0.7903 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2182, allocations: 0 / 0.7903 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.2183, allocations: 31.92 kB / 0.7903 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.2185, allocations: 12.86 kB / 0.7903 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.2202, allocations: 1.718 MB / 0.792 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.2204, allocations: 0.6846 MB / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.2205, allocations: 8.078 kB / 0.7927 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.2205, allocations: 23.38 kB / 0.7927 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2205, allocations: 0 / 0.7927 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.2393, allocations: 2.842 MB / 0.7955 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.794, allocations: 9.047 kB / 0.7955 GB, free: 0.5664 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)