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.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001578/0.001578, allocations: 195.7 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 222 MB, free: 4.75 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.659/1.659, allocations: 292.3 MB / 0.5484 GB, free: 13.58 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.001301/0.001301, allocations: 68.45 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.194, allocations: 114.6 MB / 0.7828 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001908/0.196, allocations: 0.7708 MB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1974, allocations: 1.298 MB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.1975, allocations: 0 / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.1975, allocations: 3.938 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.516e-05/0.1976, allocations: 19.86 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.1983, allocations: 287.3 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.1985, allocations: 227.5 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.1987, allocations: 12.19 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.909e-05/0.1988, allocations: 87.86 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1989, allocations: 71.77 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.1989, allocations: 12 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.728e-05/0.199, allocations: 27.98 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.199, allocations: 27.8 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.839e-05/0.1991, allocations: 71.8 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1994, allocations: 215.7 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.1994, allocations: 0 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1994, allocations: 0 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.1994, allocations: 0 / 0.7859 GB, free: 10.7 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.0005709/0.2, allocations: 492.3 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2, allocations: 8.031 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.2001, allocations: 42.73 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.2001, allocations: 12.84 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2003, allocations: 186.8 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2003, allocations: 4.375 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.2003, allocations: 16.36 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.2005, allocations: 61.98 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2005, allocations: 3.938 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2005, allocations: 4 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2005, allocations: 0 / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.07e-05/0.2005, allocations: 23.98 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.2011, allocations: 412.5 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.184e-05/0.2012, allocations: 34.56 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.2012, allocations: 24.88 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.2012, allocations: 0 / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.2014, allocations: 103.3 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.2014, allocations: 0 / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.000297/0.2017, allocations: 137.5 kB / 0.7874 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.2018, allocations: 59.39 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2019, allocations: 133.7 kB / 0.7875 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.2019, allocations: 33.7 kB / 0.7876 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.202, allocations: 96.58 kB / 0.7877 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.202, allocations: 27.64 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.2022, allocations: 69.61 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2023, allocations: 326.8 kB / 0.7881 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.2025, allocations: 91.88 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.2028, allocations: 134 kB / 0.7883 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.2031, allocations: 238.4 kB / 0.7885 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2031, allocations: 0 / 0.7885 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006121/0.2037, allocations: 374.5 kB / 0.7889 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/0.2038, allocations: 105.1 kB / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2038, allocations: 4 kB / 0.789 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2038, allocations: 0 / 0.789 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-05/0.2038, allocations: 4 kB / 0.789 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2039, allocations: 4 kB / 0.789 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.2044, allocations: 83.8 kB / 0.7891 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.2044, allocations: 23.92 kB / 0.7891 GB, free: 7.047 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,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.2045, allocations: 133.7 kB / 0.7892 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.2046, allocations: 11.89 kB / 0.7892 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.2046, allocations: 8.375 kB / 0.7892 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2046, allocations: 4 kB / 0.7892 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2046, allocations: 0 / 0.7892 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2046, allocations: 0 / 0.7892 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2048, allocations: 193.6 kB / 0.7894 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2048, allocations: 0 / 0.7894 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.2048, allocations: 4 kB / 0.7894 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2048, allocations: 0 / 0.7894 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2048, allocations: 0 / 0.7894 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2049, allocations: 3.938 kB / 0.7894 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2049, allocations: 0 / 0.7894 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.205, allocations: 140.9 kB / 0.7896 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.2051, allocations: 96.89 kB / 0.7896 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.2051, allocations: 4 kB / 0.7897 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.2052, allocations: 96 / 0.7897 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.2052, allocations: 15.92 kB / 0.7897 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.2052, allocations: 7.984 kB / 0.7897 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.161e-05/0.2053, allocations: 98.36 kB / 0.7898 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2053, allocations: 0 / 0.7898 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000252/0.2055, allocations: 44 kB / 0.7898 GB, free: 6.203 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004695/0.206, allocations: 0.6826 MB / 0.7905 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004453/0.2065, allocations: 362 kB / 0.7908 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2065, allocations: 0 / 0.7908 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.2066, allocations: 39.98 kB / 0.7909 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.2068, allocations: 24.36 kB / 0.7909 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.2094, allocations: 2.055 MB / 0.7929 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.2096, allocations: 0.7004 MB / 0.7936 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.779e-05/0.2097, allocations: 8.438 kB / 0.7936 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.2097, allocations: 31.36 kB / 0.7936 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2098, allocations: 288 / 0.7936 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.2233, allocations: 3.564 MB / 0.7971 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.2235, allocations: 194.6 kB / 0.7973 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.934, allocations: 0 / 0.7973 GB, free: 14.38 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/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)