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.And.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.And,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.394/1.394, allocations: 252 MB / 267 MB, free: 10.96 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.00112/0.00112, allocations: 186.7 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.4 MB / 0.5776 GB, free: 20.55 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.0007053/0.0007052, allocations: 87.14 kB / 0.6822 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003931, allocations: 15.91 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2318, allocations: 106.3 MB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001371/0.2332, allocations: 1.095 MB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004193/0.2337, allocations: 197.6 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.2337, allocations: 4 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.2338, allocations: 7.922 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.367e-05/0.2339, allocations: 3.938 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.234, allocations: 15.98 kB / 0.9016 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.301e-05/0.2341, allocations: 47.8 kB / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2343, allocations: 15.97 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/0.2343, allocations: 11.94 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.2344, allocations: 27.91 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.2344, allocations: 0 / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.2344, allocations: 4 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.2345, allocations: 4 kB / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.2345, allocations: 33.64 kB / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.906e-05/0.2346, allocations: 35.92 kB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2346, allocations: 3.938 kB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2346, allocations: 0 / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2346, allocations: 0 / 0.9018 GB, free: 62.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005718/0.2352, allocations: 367.5 kB / 0.9021 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2353, allocations: 8.031 kB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.2353, allocations: 46.55 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.2353, allocations: 0 / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2355, allocations: 178.9 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.2355, allocations: 11.98 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.2355, allocations: 7.938 kB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.2357, allocations: 53.61 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2357, allocations: 0 / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2357, allocations: 4 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2357, allocations: 4 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/0.2358, allocations: 19.98 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.2362, allocations: 276.8 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.2363, allocations: 50.52 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.2363, allocations: 20.97 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2363, allocations: 0 / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.2365, allocations: 67.39 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.2365, allocations: 0 / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002091/0.2367, allocations: 89.58 kB / 0.9029 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.2367, allocations: 71.34 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.2368, allocations: 109.8 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.2368, allocations: 29.7 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.2369, allocations: 88.05 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.2369, allocations: 7.906 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.2369, allocations: 4 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.822e-05/0.237, allocations: 318.8 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.237, allocations: 8 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.237, allocations: 42.56 kB / 0.9036 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.2371, allocations: 12 kB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2371, allocations: 0 / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.068e-05/0.2372, allocations: 81.52 kB / 0.9037 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2372, allocations: 8 kB / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2372, allocations: 3.938 kB / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2372, allocations: 0 / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.2373, allocations: 15.98 kB / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2373, allocations: 0 / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/0.2374, allocations: 27.88 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.2374, allocations: 4 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.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): 9 * 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.142e-05/0.2375, allocations: 113.8 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-06/0.2375, allocations: 3.906 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.2375, allocations: 12.38 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2375, allocations: 4 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2375, allocations: 192 / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2375, allocations: 0 / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.994e-05/0.2376, allocations: 181.5 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2376, allocations: 0 / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-06/0.2377, allocations: 3.938 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2377, allocations: 4 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2377, allocations: 0 / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2377, allocations: 3.984 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2377, allocations: 0 / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.2378, allocations: 113 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.2378, allocations: 81.11 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2378, allocations: 0 / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.2379, allocations: 11.98 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.238, allocations: 11.97 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.238, allocations: 8 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.627e-05/0.2381, allocations: 92.06 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2381, allocations: 0 / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001961/0.2383, allocations: 8 kB / 0.9043 GB, free: 59.66 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.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 (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.0003323/0.2386, allocations: 0.6457 MB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.2387, allocations: 48.28 kB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2388, allocations: 4.062 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.2388, allocations: 27.97 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.2391, allocations: 18.73 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006906/0.2398, allocations: 0.4935 MB / 0.9056 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2399, allocations: 0.6917 MB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.2399, allocations: 4 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.2399, allocations: 19.42 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.24, allocations: 4 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.252, allocations: 1.598 MB / 0.9078 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.2523, allocations: 197 kB / 0.908 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.799, allocations: 4 kB / 0.908 GB, free: 55.89 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)