Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.65/2.65, allocations: 287.3 MB / 302.3 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001536, allocations: 172.5 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 99.95 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006571/0.0006572, allocations: 14.72 kB / 0.8657 GB, free: 139.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2257, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008104/0.2266, allocations: 386.5 kB / 0.9787 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2282, allocations: 1.13 MB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.2282, allocations: 0 / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.2283, allocations: 0 / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.911e-05/0.2284, allocations: 11.98 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2295, allocations: 197.7 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.2297, allocations: 79.89 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2299, allocations: 8 kB / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.23, allocations: 59.88 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.2302, allocations: 51.86 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.2303, allocations: 8 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.2304, allocations: 15.98 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.2304, allocations: 15.94 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.2305, allocations: 37.7 kB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.2308, allocations: 108 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2308, allocations: 0 / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.464e-06/0.2308, allocations: 0 / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2308, allocations: 0 / 0.9803 GB, free: 26.18 MB / 0.6198 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.000539/0.2314, allocations: 402.7 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.2315, allocations: 12.02 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.2315, allocations: 34.55 kB / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.187e-05/0.2316, allocations: 15.91 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2318, allocations: 174.9 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.2318, allocations: 8 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.2319, allocations: 8 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.2321, allocations: 49.67 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2321, allocations: 0 / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.2321, allocations: 4 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2322, allocations: 0 / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.2323, allocations: 15.98 kB / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.2329, allocations: 360.6 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.233, allocations: 34.56 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.2331, allocations: 0 / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.2333, allocations: 79.45 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.086e-06/0.2333, allocations: 3.938 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003822/0.2337, allocations: 109.5 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.2337, allocations: 55.39 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2339, allocations: 118 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.2339, allocations: 29.7 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.234, allocations: 96.23 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.2341, allocations: 15.88 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.2341, allocations: 4 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.2342, allocations: 318.8 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.2345, allocations: 63.95 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.2348, allocations: 96.2 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.2351, allocations: 107.9 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.2352, allocations: 4 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007683/0.236, allocations: 264.7 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.236, allocations: 67.39 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.2361, allocations: 0 / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2361, allocations: 4 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.874e-05/0.2361, allocations: 4 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2361, allocations: 7.984 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.2368, allocations: 79.95 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.2368, allocations: 11.98 kB / 0.9829 GB, free: 23.28 MB / 0.6198 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 0.000116/0.237, allocations: 123.7 kB / 0.983 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.237, allocations: 15.91 kB / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.237, allocations: 4.438 kB / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2371, allocations: 4 kB / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2371, allocations: 0 / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2371, allocations: 7.984 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.2372, allocations: 173.6 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2372, allocations: 0 / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.2373, allocations: 4 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2373, allocations: 0 / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2373, allocations: 0 / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2373, allocations: 7.984 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.2373, allocations: 4 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.2375, allocations: 113.2 kB / 0.9833 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.2376, allocations: 92.94 kB / 0.9834 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.2376, allocations: 0 / 0.9834 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.2376, allocations: 0 / 0.9834 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.2377, allocations: 7.984 kB / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.2377, allocations: 7.984 kB / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.2378, allocations: 91.27 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2378, allocations: 0 / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003311/0.2381, allocations: 32 kB / 0.9835 GB, free: 22.51 MB / 0.6198 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.0005465/0.2387, allocations: 0.6487 MB / 0.9842 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006101/0.2393, allocations: 250.6 kB / 0.9844 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2393, allocations: 0 / 0.9844 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.2394, allocations: 31.97 kB / 0.9845 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.2398, allocations: 13.86 kB / 0.9845 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.2408, allocations: 0.9916 MB / 0.9854 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.241, allocations: 0.6887 MB / 0.9861 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.245e-05/0.241, allocations: 7.984 kB / 0.9861 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.2411, allocations: 23.38 kB / 0.9861 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.2411, allocations: 0 / 0.9861 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.2666, allocations: 2.537 MB / 0.9886 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.2669, allocations: 179.1 kB / 0.9888 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/2.67, allocations: 0 / 0.9888 GB, free: 17.09 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)