Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.542/1.542, allocations: 252 MB / 267 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 187.3 kB / 326.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007491/0.0007491, allocations: 88.39 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003682, allocations: 10.56 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2149, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001382/0.2163, allocations: 1.151 MB / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003762/0.2167, allocations: 216.3 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.2167, allocations: 0 / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.2168, allocations: 0 / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.396e-05/0.2169, allocations: 19.84 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.217, allocations: 15.98 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.2171, allocations: 79.64 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.2172, allocations: 20.17 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.76e-05/0.2172, allocations: 27.86 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.2173, allocations: 27.84 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.2173, allocations: 4 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.2174, allocations: 4 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.2174, allocations: 7.984 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.2174, allocations: 41.64 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.566e-05/0.2175, allocations: 51.88 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2175, allocations: 0 / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2175, allocations: 0 / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2175, allocations: 4 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000517/0.218, allocations: 399.3 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2181, allocations: 8.031 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.2181, allocations: 42.56 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.2182, allocations: 4 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2183, allocations: 182.9 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2183, allocations: 4 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.2183, allocations: 8 kB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.2184, allocations: 61.61 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2184, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2185, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2185, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.033e-05/0.2185, allocations: 31.98 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.219, allocations: 316.7 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.035e-05/0.219, allocations: 46.56 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.2191, allocations: 24.84 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.2191, allocations: 0 / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.2193, allocations: 91.5 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.2193, allocations: 0 / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002231/0.2195, allocations: 117.5 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.2196, allocations: 63.34 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.2196, allocations: 129.8 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.2197, allocations: 29.7 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.2197, allocations: 84.14 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.2197, allocations: 31.64 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2197, allocations: 4 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.22e-05/0.2198, allocations: 318.8 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-05/0.2198, allocations: 19.98 kB / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.2199, allocations: 47.42 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.2199, allocations: 23.94 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.22, allocations: 0 / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000123/0.2201, allocations: 105.5 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2201, allocations: 8 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2201, allocations: 0 / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2201, allocations: 0 / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.2202, allocations: 8.469 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2202, allocations: 3.953 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.2203, allocations: 28.06 kB / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2203, allocations: 8 kB / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/0.2204, allocations: 117.8 kB / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.2204, allocations: 11.84 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.2205, allocations: 16.38 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2205, allocations: 0 / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2205, allocations: 0 / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2205, allocations: 11.94 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.2206, allocations: 185.6 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2207, allocations: 0 / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.2207, allocations: 7.984 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.2207, allocations: 0 / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.2207, allocations: 0 / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2207, allocations: 0 / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2207, allocations: 4 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.2208, allocations: 132.9 kB / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.2209, allocations: 84.95 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.2209, allocations: 3.938 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.221, allocations: 23.97 kB / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.2211, allocations: 15.98 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.2211, allocations: 3.984 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.916e-05/0.2211, allocations: 99.27 kB / 0.9048 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2211, allocations: 4 kB / 0.9048 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001833/0.2213, allocations: 16 kB / 0.9048 GB, free: 58.83 MB / 0.6042 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 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y,booPul3.y,booPul3.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003196/0.2217, allocations: 0.6606 MB / 0.9054 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.2218, allocations: 64.17 kB / 0.9055 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2218, allocations: 4.062 kB / 0.9055 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.533e-05/0.2219, allocations: 39.92 kB / 0.9055 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.2221, allocations: 16.75 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.2228, allocations: 0.5918 MB / 0.9061 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.223, allocations: 0.6965 MB / 0.9068 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.223, allocations: 8.547 kB / 0.9068 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.2231, allocations: 23.44 kB / 0.9068 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2231, allocations: 0 / 0.9068 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.2355, allocations: 2.054 MB / 0.9088 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.2357, allocations: 195.6 kB / 0.909 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/1.816, allocations: 3.938 kB / 0.909 GB, free: 54.47 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)