Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.0007086/0.0007086, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0008081/0.0008081, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.718/1.718, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005245/0.0005247, allocations: 16 kB / 0.6738 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2333, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.000861/0.2342, allocations: 438.4 kB / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.2357, allocations: 1.247 MB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.2358, allocations: 0 / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.2358, allocations: 0 / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.2359, allocations: 15.86 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007722/0.2367, allocations: 282.8 kB / 0.7893 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.2369, allocations: 195.6 kB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.037e-05/0.237, allocations: 20.16 kB / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.2371, allocations: 79.86 kB / 0.7896 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.2373, allocations: 67.78 kB / 0.7897 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.2373, allocations: 12 kB / 0.7897 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.091e-05/0.2374, allocations: 31.98 kB / 0.7897 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.2374, allocations: 11.92 kB / 0.7897 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.2375, allocations: 45.7 kB / 0.7898 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.2377, allocations: 155.8 kB / 0.7899 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2377, allocations: 0 / 0.7899 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2377, allocations: 0 / 0.7899 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2377, allocations: 0 / 0.7899 GB, free: 9.223 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.0004896/0.2382, allocations: 456.1 kB / 0.7904 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2382, allocations: 16.02 kB / 0.7904 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.2383, allocations: 34.56 kB / 0.7904 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.2383, allocations: 19.91 kB / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2385, allocations: 171 kB / 0.7906 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.2385, allocations: 7.984 kB / 0.7906 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.2386, allocations: 20 kB / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.2387, allocations: 49.67 kB / 0.7907 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2388, allocations: 3.938 kB / 0.7907 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2388, allocations: 4 kB / 0.7907 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2388, allocations: 0 / 0.7907 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.2389, allocations: 19.98 kB / 0.7907 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.2395, allocations: 428.4 kB / 0.7911 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.61e-05/0.2396, allocations: 34.56 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.2396, allocations: 24.94 kB / 0.7912 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.2396, allocations: 0 / 0.7912 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.2398, allocations: 111.2 kB / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.2399, allocations: 0 / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003177/0.2402, allocations: 129.5 kB / 0.7914 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.2402, allocations: 63.39 kB / 0.7915 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2404, allocations: 125.8 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.2404, allocations: 37.7 kB / 0.7916 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.2405, allocations: 96.05 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.2405, allocations: 27.8 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.2405, allocations: 12 kB / 0.7917 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2407, allocations: 314.8 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.2409, allocations: 91.94 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.2411, allocations: 130 kB / 0.7923 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.2413, allocations: 173 kB / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2413, allocations: 0 / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005594/0.2418, allocations: 373.8 kB / 0.7928 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.2419, allocations: 101.1 kB / 0.7929 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2419, allocations: 4 kB / 0.7929 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.242, allocations: 192 / 0.7929 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.546e-05/0.242, allocations: 11.94 kB / 0.7929 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.242, allocations: 7.953 kB / 0.7929 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.2425, allocations: 123.2 kB / 0.793 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.2426, allocations: 15.98 kB / 0.793 GB, free: 5.734 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.2427, allocations: 129.8 kB / 0.7931 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.2427, allocations: 7.906 kB / 0.7932 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.2428, allocations: 16.31 kB / 0.7932 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2428, allocations: 0 / 0.7932 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2428, allocations: 0 / 0.7932 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2428, allocations: 7.938 kB / 0.7932 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.243, allocations: 193.5 kB / 0.7934 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.243, allocations: 3.984 kB / 0.7934 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.243, allocations: 4 kB / 0.7934 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.243, allocations: 0 / 0.7934 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.243, allocations: 11.98 kB / 0.7934 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.243, allocations: 0 / 0.7934 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.243, allocations: 4 kB / 0.7934 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.2432, allocations: 136.9 kB / 0.7935 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.2433, allocations: 85 kB / 0.7936 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.2433, allocations: 4 kB / 0.7936 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.59e-05/0.2433, allocations: 4 kB / 0.7936 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.2434, allocations: 7.984 kB / 0.7936 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2434, allocations: 8 kB / 0.7936 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.988e-05/0.2434, allocations: 99.27 kB / 0.7937 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2434, allocations: 0 / 0.7937 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002583/0.2437, allocations: 47.98 kB / 0.7938 GB, free: 4.883 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,or1.y,booPul3.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 (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.0004988/0.2442, allocations: 0.6778 MB / 0.7944 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.2447, allocations: 362.2 kB / 0.7948 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2447, allocations: 0 / 0.7948 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.2448, allocations: 47.86 kB / 0.7948 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.245, allocations: 19.98 kB / 0.7948 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2464, allocations: 0.9077 MB / 0.7957 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.2466, allocations: 0.6926 MB / 0.7964 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.893e-05/0.2467, allocations: 12.42 kB / 0.7964 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.2467, allocations: 23.5 kB / 0.7964 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.2467, allocations: 4 kB / 0.7964 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/0.2864, allocations: 3.447 MB / 0.7998 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/0.2867, allocations: 182.5 kB / 0.8 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.224, allocations: 0 / 0.8 GB, free: 14.46 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) Environment - environmentSimulation: