Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.817/1.817, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001565/0.001565, allocations: 183.6 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0008327/0.0008326, allocations: 93.27 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 12.94 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0007741/0.1921, allocations: 434.7 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1934, allocations: 1.185 MB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.1934, allocations: 4 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.1935, allocations: 4 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.1935, allocations: 19.89 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.1942, allocations: 276.3 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1944, allocations: 123.8 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.1944, allocations: 20.17 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.988e-05/0.1945, allocations: 83.86 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.1946, allocations: 67.78 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.1947, allocations: 12 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.214e-05/0.1948, allocations: 31.97 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.1948, allocations: 4 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.1949, allocations: 49.64 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.195, allocations: 151.9 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.195, allocations: 4 kB / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.884e-06/0.195, allocations: 3.938 kB / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.195, allocations: 0 / 0.9819 GB, free: 25.15 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.000364/0.1954, allocations: 456.2 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1954, allocations: 12.02 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.1955, allocations: 38.55 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.1955, allocations: 11.91 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.276e-05/0.1956, allocations: 171 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1956, allocations: 12 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.1957, allocations: 19.98 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/0.1958, allocations: 61.61 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1958, allocations: 0 / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1958, allocations: 4 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1958, allocations: 3.984 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.1958, allocations: 23.98 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.1963, allocations: 412.5 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.1963, allocations: 42.5 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.1963, allocations: 0 / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.1965, allocations: 99.28 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1965, allocations: 0 / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002382/0.1967, allocations: 141.5 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.1968, allocations: 55.34 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.1969, allocations: 137.8 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.1969, allocations: 29.7 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.1969, allocations: 108.1 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.197, allocations: 19.75 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.197, allocations: 4 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.197, allocations: 322.8 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1972, allocations: 83.95 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.1973, allocations: 138 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1975, allocations: 170.6 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1975, allocations: 0 / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004263/0.1979, allocations: 374.4 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.198, allocations: 101.1 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.198, allocations: 0 / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.198, allocations: 7.938 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.822e-05/0.198, allocations: 4 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1981, allocations: 7.953 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.1986, allocations: 117.2 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.1986, allocations: 23.92 kB / 0.9849 GB, free: 21.68 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 7.683e-05/0.1987, allocations: 122.5 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.1987, allocations: 7.906 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.1988, allocations: 16.36 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1988, allocations: 0 / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1988, allocations: 0 / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1988, allocations: 7.953 kB / 0.9851 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.904e-05/0.1989, allocations: 193.9 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1989, allocations: 4 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-06/0.1989, allocations: 3.984 kB / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1989, allocations: 0 / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1989, allocations: 7.938 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1989, allocations: 3.938 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1989, allocations: 0 / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1991, allocations: 141 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.1991, allocations: 88.95 kB / 0.9855 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1991, allocations: 4 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.1991, allocations: 0 / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1992, allocations: 11.98 kB / 0.9855 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1992, allocations: 8 kB / 0.9855 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.093e-05/0.1992, allocations: 100.2 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1992, allocations: 0 / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002295/0.1995, allocations: 44 kB / 0.9857 GB, free: 20.84 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.000283/0.1998, allocations: 0.6787 MB / 0.9863 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.2001, allocations: 362 kB / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2001, allocations: 0 / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.2001, allocations: 40.36 kB / 0.9867 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.2003, allocations: 24.3 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.2009, allocations: 1.357 MB / 0.9881 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.849e-05/0.201, allocations: 0.6965 MB / 0.9888 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.201, allocations: 8.438 kB / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.201, allocations: 31.42 kB / 0.9888 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.201, allocations: 0 / 0.9888 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.2132, allocations: 3.412 MB / 0.9921 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/0.2134, allocations: 195 kB / 0.9923 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/1.738, allocations: 0 / 0.9923 GB, free: 13.99 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)