Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.662/2.662, allocations: 287.5 MB / 302.4 MB, free: 8.207 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.001385/0.001385, allocations: 178.1 kB / 371 MB, free: 10.83 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.201/2.201, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.000911/0.0009109, allocations: 91.58 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005015, allocations: 16.38 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2258, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0009053/0.2268, allocations: 438.4 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.2285, allocations: 1.239 MB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.2286, allocations: 0 / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.2286, allocations: 0 / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.687e-05/0.2287, allocations: 23.84 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.2299, allocations: 276.9 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.2302, allocations: 195.6 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2303, allocations: 16.17 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.2304, allocations: 87.86 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.2306, allocations: 71.77 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.194e-05/0.2306, allocations: 16 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2308, allocations: 23.98 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.2308, allocations: 19.92 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.654e-05/0.2309, allocations: 41.7 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.2311, allocations: 151.8 kB / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2311, allocations: 0 / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2312, allocations: 7.938 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2312, allocations: 0 / 0.981 GB, free: 25.63 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005064/0.2317, allocations: 456.2 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2317, allocations: 12.02 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.2318, allocations: 42.48 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.2319, allocations: 15.91 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.232, allocations: 167 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.232, allocations: 15.92 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.2321, allocations: 16 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.2323, allocations: 53.67 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2323, allocations: 0 / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2323, allocations: 0 / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2323, allocations: 7.984 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.887e-05/0.2324, allocations: 15.98 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006533/0.2331, allocations: 432.4 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.219e-05/0.2332, allocations: 34.56 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/0.2332, allocations: 20.94 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2333, allocations: 0 / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.2335, allocations: 115.2 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.424e-06/0.2335, allocations: 0 / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000443/0.234, allocations: 133.5 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.234, allocations: 59.34 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2341, allocations: 131.7 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.2342, allocations: 29.7 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.2343, allocations: 100 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.2343, allocations: 31.8 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.2344, allocations: 4 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.2345, allocations: 318.8 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.2348, allocations: 87.94 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.2351, allocations: 137.9 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.2354, allocations: 170 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2354, allocations: 0 / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008901/0.2363, allocations: 368.7 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/0.2364, allocations: 101.1 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2364, allocations: 4.125 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.2365, allocations: 12.33 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.699e-05/0.2365, allocations: 7.938 kB / 0.9839 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2365, allocations: 4 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009738/0.2375, allocations: 111.8 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/0.2376, allocations: 23.92 kB / 0.9841 GB, free: 22.14 MB / 0.6198 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.0001532/0.2378, allocations: 135.1 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.2378, allocations: 7.906 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.2379, allocations: 12.38 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2379, allocations: 0 / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2379, allocations: 3.953 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2379, allocations: 3.984 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.2381, allocations: 189.6 kB / 0.9844 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2381, allocations: 0 / 0.9844 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.2381, allocations: 4 kB / 0.9844 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2381, allocations: 4 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.2382, allocations: 7.984 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2382, allocations: 0 / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2382, allocations: 0 / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.2384, allocations: 132.9 kB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.2385, allocations: 89 kB / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.2385, allocations: 4 kB / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.2386, allocations: 0 / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.2386, allocations: 11.98 kB / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2387, allocations: 8 kB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.851e-05/0.2387, allocations: 101.5 kB / 0.9848 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2387, allocations: 0 / 0.9848 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003614/0.2391, allocations: 51.98 kB / 0.9848 GB, free: 21.3 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: 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.0004878/0.2396, allocations: 0.6748 MB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006226/0.2402, allocations: 370.2 kB / 0.9858 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2403, allocations: 0 / 0.9858 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.2404, allocations: 39.94 kB / 0.9859 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2408, allocations: 24.34 kB / 0.9859 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.2428, allocations: 0.9044 MB / 0.9868 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.243, allocations: 0.6926 MB / 0.9874 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.641e-05/0.2431, allocations: 12.42 kB / 0.9875 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.2431, allocations: 27.5 kB / 0.9875 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.2431, allocations: 0 / 0.9875 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.2711, allocations: 3.463 MB / 0.9909 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.2714, allocations: 184 kB / 0.991 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/2.857, allocations: 4 kB / 0.991 GB, free: 14.87 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)