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.0007723/0.0007723, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008095/0.0008095, allocations: 168.7 kB / 15.95 MB, free: 204 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.399/1.399, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.742/1.742, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005032/0.0005033, allocations: 17.59 kB / 0.6738 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2441, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008649/0.245, allocations: 402.4 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.2464, allocations: 1.165 MB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.2465, allocations: 8 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.2465, allocations: 3.938 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.2465, allocations: 3.938 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/0.2472, allocations: 193.8 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000271/0.2474, allocations: 131.7 kB / 0.7893 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.241e-05/0.2475, allocations: 15.97 kB / 0.7893 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.2476, allocations: 55.91 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-05/0.2477, allocations: 47.86 kB / 0.7894 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.2478, allocations: 8 kB / 0.7894 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.2478, allocations: 19.98 kB / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.2479, allocations: 15.86 kB / 0.7894 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.2479, allocations: 41.7 kB / 0.7895 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2481, allocations: 108 kB / 0.7896 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2481, allocations: 0 / 0.7896 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2481, allocations: 0 / 0.7896 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.2481, allocations: 0 / 0.7896 GB, free: 9.629 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.0005905/0.2487, allocations: 410.6 kB / 0.79 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2488, allocations: 8.031 kB / 0.79 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.2489, allocations: 34.56 kB / 0.79 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.249, allocations: 7.906 kB / 0.79 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2491, allocations: 171 kB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2491, allocations: 11.98 kB / 0.7902 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.2492, allocations: 8 kB / 0.7902 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2494, allocations: 45.69 kB / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2494, allocations: 0 / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.2494, allocations: 4 kB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2494, allocations: 0 / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.83e-05/0.2494, allocations: 15.98 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.2499, allocations: 364.5 kB / 0.7906 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.25, allocations: 30.58 kB / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.25, allocations: 16.94 kB / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2501, allocations: 7.984 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.2502, allocations: 83.3 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.2502, allocations: 0 / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002734/0.2505, allocations: 97.58 kB / 0.7908 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.2506, allocations: 59.41 kB / 0.7909 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.2507, allocations: 122 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.2507, allocations: 29.7 kB / 0.791 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.2508, allocations: 96.23 kB / 0.7911 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.2508, allocations: 15.89 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.2508, allocations: 4 kB / 0.7911 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.251, allocations: 318.8 kB / 0.7914 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.2511, allocations: 55.97 kB / 0.7915 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2513, allocations: 104.5 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.2514, allocations: 115.4 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2514, allocations: 0 / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003773/0.2518, allocations: 260.8 kB / 0.7919 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/0.2519, allocations: 74.2 kB / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2519, allocations: 0 / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2519, allocations: 4 kB / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.888e-05/0.2519, allocations: 8.062 kB / 0.792 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2519, allocations: 4 kB / 0.792 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.2524, allocations: 79.86 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.2524, allocations: 15.95 kB / 0.7921 GB, free: 6.707 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.737e-05/0.2525, allocations: 121.8 kB / 0.7922 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.2525, allocations: 3.906 kB / 0.7922 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.2526, allocations: 12.38 kB / 0.7923 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2526, allocations: 0 / 0.7923 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2526, allocations: 4.062 kB / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2526, allocations: 4 kB / 0.7923 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.2527, allocations: 177.6 kB / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2527, allocations: 0 / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.2527, allocations: 4 kB / 0.7924 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2527, allocations: 0 / 0.7924 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.2528, allocations: 4 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2528, allocations: 0 / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2528, allocations: 3.938 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.2529, allocations: 117 kB / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.253, allocations: 81.02 kB / 0.7926 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.253, allocations: 11.98 kB / 0.7926 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.763e-05/0.253, allocations: 0 / 0.7926 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.2531, allocations: 4 kB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.2531, allocations: 0 / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001209/0.2532, allocations: 95.2 kB / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2532, allocations: 0 / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002247/0.2534, allocations: 32 kB / 0.7928 GB, free: 5.949 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 (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.0005495/0.254, allocations: 0.6553 MB / 0.7934 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.2543, allocations: 242.7 kB / 0.7936 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2543, allocations: 3.938 kB / 0.7936 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.2544, allocations: 20 kB / 0.7937 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.2546, allocations: 20.23 kB / 0.7937 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2557, allocations: 0.7002 MB / 0.7944 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.256, allocations: 0.6926 MB / 0.795 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.256, allocations: 4 kB / 0.795 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.2561, allocations: 23.42 kB / 0.7951 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2561, allocations: 0 / 0.7951 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04825/0.3043, allocations: 2.583 MB / 0.7976 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.3046, allocations: 182.9 kB / 0.7978 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.268, allocations: 0 / 0.7978 GB, free: 0.7812 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/linux/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) Environment - environmentSimulation: